public void GetOneAsync_Should_ThrowException_IfArgumentIsNull()
 {
     Assert.ThrowsAsync <ArgumentNullException>(() => _genericServiceNullable.GetOneAsync((int?)null));
 }
        public void GetOneAsync_Should_InvokeGenericRepositoryGetOneAsync_Once()
        {
            var returnValue = _genericService.GetOneAsync(_testId);

            _mockGenericRepository.Verify(x => x.GetOneAsync(_testId, It.IsAny <bool>()), Times.Once);
        }