Ejemplo n.º 1
0
 public void ThenRequestServiceDeclineRequestShouldNotHaveBeenCalled()
 => RequestsService.Verify(service => service.DeclineRequest(It.IsAny <Request>()), Times.Never);
Ejemplo n.º 2
0
 public void ThenRequestServiceAcceptRequestShouldHaveBeenCalled()
 => RequestsService.Verify(service => service.AcceptRequest(It.IsAny <Request>()), Times.Once);
Ejemplo n.º 3
0
 public void ThenRequestServiceIsRequestAlreadySentShouldHaveBeenCalled()
 => RequestsService.Verify(service => service.IsRequestAlreadySent(It.IsAny <Request>()), Times.Once);