public void Should_serialize_and_deserialize() { var appImage = new AppImage("image/png"); var serialized = appImage.SerializeAndDeserialize(); serialized.Should().BeEquivalentTo(appImage); }
public void Should_serialize_and_deserialize() { var appImage = new AppImage("image/png"); var serialized = appImage.SerializeAndDeserialize(); Assert.Equal(appImage, serialized); }