public static Movie FakeMovie() { var m = new Movie(); m.Title = "Harry Potter"; m.Tags = new List<Tag> {new Tag() {TagName = "Drama"}}; return m; }
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."); }
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."); }
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."); }
public void MovieConstructorTest() { Movie target = new Movie(); Assert.Inconclusive("TODO: Implement code to verify target"); }
public Movie SaveMovie(Movie movie) { return this.Save("Movie", movie); }