public void When_GetAllProjects_Then_VerifyResult() { var projects = _mockProjectManagerService.GetAllProject(); Assert.NotNull(projects); Assert.AreEqual(projects.Count, 1); }
public IHttpActionResult GetAllProjects() { return(Ok(projectManagerService.GetAllProject())); }