Beispiel #1
0
        public void When_GetAllUsers_Then_VerifyResult()
        {
            var userList = _mockProjectManagerService.GetAllUsers();

            Assert.NotNull(userList);
            Assert.AreEqual(userList.Count, 1);
        }
 public IHttpActionResult GetAllUsers()
 {
     return(Ok(projectManagerService.GetAllUsers()));
 }