public async void CreateTasks() { var sut = new TaskApiService(new FakeApiService()); var actual = await sut.CreateTasks(new List <NirvanaTask>()); actual.Should().BeTrue(); }
public void NotAllowNullInCreateTasks() { var sut = new TaskApiService(new FakeApiService()); FluentActions.Invoking(() => sut.CreateTasks(null)).Should().Throw <ArgumentNullException>(); }