public async Task GetEntityByIdReturnsNullIfEntityDoesntExist() { var response = await _classUnderTest.GetEntityById(123).ConfigureAwait(false); response.Should().BeNull(); _logger.VerifyExact(LogLevel.Debug, $"Calling IDynamoDBContext.LoadAsync for id parameter 123", Times.Once()); }
public void GetEntityByIdReturnsNullIfEntityDoesntExist() { var response = _classUnderTest.GetEntityById(123); response.Should().BeNull(); }