Exemplo n.º 1
0
 public void AssertDynamicResponse()
 {
     _configuration.Get("/users/defunkt")
     .Response()
     .ReturnsDynamic(c => c.login == "defunkt", "Login did not match")
     .ReturnsDynamic(c => c.id == 2, "ID did not match")
     .Assert();
 }
Exemplo n.º 2
0
 public void GetAuthenticatedValue()
 {
     _configuration.Get("/user/following/defunkt")
     .Response()
     .ReturnsStatus(HttpStatusCode.NotFound)
     .Assert();
 }