public void DiskDriveDeserializeFromJSON(DiskDriveTestData inTestData) { var obj = Fixture.Serializer.Deserialize <DiskDrive>(inTestData.SerializedTestData); obj.Should().BeOfType(typeof(DiskDrive)); Fixture.Serializer.Deserialize <DiskDrive>(inTestData.SerializedTestData).Should().BeEquivalentTo(inTestData.ObjTestData); }
public void DiskDriveSerializeToJSON(DiskDriveTestData inTestData) { Fixture.Serializer.Serialize(inTestData.ObjTestData).Should().BeEquivalentTo(inTestData.SerializedTestData); }