public static Movie FakeMovie()
 {
     var m = new Movie();
     m.Title = "Harry Potter";
     m.Tags = new List<Tag> {new Tag() {TagName = "Drama"}};
     return m;
 }
Exemple #2
0
 public void DescriptionTest()
 {
     Movie target = new Movie(); // TODO: Initialize to an appropriate value
     string expected = string.Empty; // TODO: Initialize to an appropriate value
     string actual;
     target.Description = expected;
     actual = target.Description;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Exemple #3
0
 public void IdTest()
 {
     Movie target = new Movie(); // TODO: Initialize to an appropriate value
     int expected = 0; // TODO: Initialize to an appropriate value
     int actual;
     target.Id = expected;
     actual = target.Id;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Exemple #4
0
 public void TagsTest()
 {
     Movie target = new Movie(); // TODO: Initialize to an appropriate value
     ICollection<Tag> expected = null; // TODO: Initialize to an appropriate value
     ICollection<Tag> actual;
     target.Tags = expected;
     actual = target.Tags;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Exemple #5
0
 public void MovieConstructorTest()
 {
     Movie target = new Movie();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
Exemple #6
0
 public Movie SaveMovie(Movie movie)
 {
     return this.Save("Movie", movie);
 }