public void GetOne_Should_ThrowException_IfArgumentIsNull() { Assert.Throws <ArgumentNullException>(() => _genericServiceNullable.GetOne(null)); }
public void GetOne_Should_InvokeGenericRepositoryGetOne_Once() { var returnValue = _genericService.GetOne(_testId); _mockGenericRepository.Verify(x => x.GetOne(_testId, It.IsAny <bool>()), Times.Once); }