public void TestFoundMovieByName1() { string expected = "My movie"; string actual = _toTest.GetMovie("My movie").Name; Assert.AreEqual(expected, actual); }
public void TestFoundMovieByName1() { _toTest.Add(new Movie( "My movie", @"D:\repo\Something.stuff", "2019-12-31")); _toTest.Add(new Movie( "My movie 2", @"D:\repo\Something2.stuff", "2020-12-31")); string expected = "My movie"; string actual = _toTest.GetMovie("My movie").Name; Assert.AreEqual(expected, actual); }