public void FeedTypeTest() { // get test Assert.That(FeedType.Photo.ToString(), Is.EqualTo("photo")); Assert.That(FeedType.PhotoTag.ToString(), Is.EqualTo("photo_tag")); // parse test Assert.That(FeedType.FromJson("photo"), Is.EqualTo(FeedType.Photo)); Assert.That(FeedType.FromJson("photo_tag"), Is.EqualTo(FeedType.PhotoTag)); }