public void EnsureCreatedProject() { int projectsBefore = _query.GetProjects().Count(); _query.GetProject("some_id_that_does_not_exist"); int projectsAfter = _query.GetProjects().Count(); Assert.Equal(projectsBefore + 1, projectsAfter); }