public async Task CreateAllAsync_WithNullNames_ShouldThrowArgumentNullException() { List <string> names = null; Assert.ThrowsAsync <ArgumentNullException>(async() => await service.CreateAllAsync(names, "test")); }