public void ObterTodosTest() { //Arrange _iUsuarioServiceMock.Setup(a => a.ObterTodos()).Returns(It.IsAny <IEnumerable <Usuario> >()).Verifiable(); //Act _usuarioAppService.ObterTodos(); //Assert _repository.VerifyAll(); }
public void ObterTodosTest() { //Arrange _iUsuarioServiceMock.Setup(a => a.ObterTodos()).Returns(It.IsAny <IEnumerable <Usuario> >()).Verifiable(); //Act _usuarioAppService.ObterTodos(); //Assert _repository.VerifyAll(); }