public async Task ShouldBeLogAndThrownExceptionWhenFileNotFound() { await Assert.ThrowsAsync <ArgumentException>(() => _processFile.GetReport("")); Assert.Equal(1, _mockLogger.Invocations.Count); }