public void TempAndFanArrayDeserializeFromJSON(TempAndFanArrayTestData inTestData) { var tempAndFanArray = Fixture.Serializer.Deserialize <TempAndFan[]>(inTestData.SerializedTempAndFanArray); tempAndFanArray.Should().BeOfType(typeof(TempAndFan)); tempAndFanArray.Should().BeEquivalentTo(inTestData.TempAndFanArray); }
public void TempAndFanArraySerializeToJSON(TempAndFanArrayTestData inTestData) { var serializedTempAndFanArray = Fixture.Serializer.Serialize(inTestData.TempAndFanArray); serializedTempAndFanArray.Should().Be(inTestData.SerializedTempAndFanArray); }