コード例 #1
0
 public void GetMovieTest()
 {
     MovieAgent target = new MovieAgent(); // TODO: Initialize to an appropriate value
     int movieId =  1; // TODO: Initialize to an appropriate value
     Movie expected = null; // TODO: Initialize to an appropriate value
     Movie actual;
     actual = target.GetMovie(movieId);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
コード例 #2
0
 public void MovieAgentConstructorTest1()
 {
     MovieAgent target = new MovieAgent();
     target.Should().NotBeNull();
 }
コード例 #3
0
 public void MovieAgentConstructorTest()
 {
     HttpClientChannel httpClientChannel = new FakeChannel<Movie>(new Movie());
     var target = new MovieAgent(httpClientChannel);
     target.Should().NotBeNull();
 }
コード例 #4
0
 internal virtual IMovieAgent CreateIMovieAgent()
 {
     IMovieAgent target = new MovieAgent(new FakeChannel<Movie>(fakeMovie));
     return target;
 }