public async Task CreateAsync_ThrowsException_WhenNullDto() { Func <Task> action = async() => await _genreServices.CreateAsync(null); await action.Should().ThrowAsync <InvalidServiceOperationException>().WithMessage("Is null genre dto"); }
public async Task CreateAsync_ThrowsException_WhenNullDto() { Func <Task> action = async() => await _genreServices.CreateAsync(null); await action.Should().ThrowAsync <InvalidServiceOperationException>().WithMessage("Is null genre dto"); }