public void TestAuthenticateUserValid() { var controller = new AuthenticateController(_repository); var result = controller.Get("*****@*****.**", "pwd1") as OkNegotiatedContentResult <Boolean>; Assert.IsNotNull(result); Assert.IsTrue(result.Content); }