public void TestJsonParsing()
        {
            Genre genre = new Genre() { Id = "Metal", Name = "Metal" };
            JObject json = JObject.Parse("{\"id\":\"Metal\",\"name\":\"Metal\"}");
            Genre genreFromJson = Genre.FromJToken(json) as Genre;

            Assert.IsNotNull(genreFromJson, "Expected a genre object");

            Assert.IsTrue(genre.Equals(genreFromJson), "Expected the same genre");
        }
 public void TestOverrides()
 {
     Genre genre = new Genre() { Id = TestId, Name = TestName };
     Assert.IsNotNull(genre.GetHashCode(), "Expected a hash code");
     Assert.IsFalse(genre.Equals(TestId), "Expected inequality");
 }