Example #1
0
        public void ShouldReturnBaseServiceResultSuccess()
        {
            BaseServiceResult result = TestedController.Increment(It.IsAny <Guid>());

            Assert.NotNull(result);
            Assert.True(result.IsSuccess);
            Assert.Empty(result.ErrorMessage);
        }
Example #2
0
 public void ShouldReturnBaseServiceResultError()
 {
     AssertBaseServiceResultError(() => TestedController.Increment(It.IsAny <Guid>()));
 }