I don't think you could possibly know this. NATO countries have S-300s and the F-35 was probably tested against it, but it's highly unlikely it was tested against an actual latest gen S-400 in fighting condition ( if such a thing even exists, Russian military readiness is dubious at best).