public void UserLogin_ValidUser_ShouldReturn200Ok_AccessToken() { // Arrange TestingEngine.CleanDatabase(); var username = "******"; var password = "******"; // Act var userSessionRegister = TestingEngine.RegisterUser(username, password); var userSessionLogin = TestingEngine.LoginUser(username, password); // Assert Assert.AreEqual(username, userSessionRegister.UserName); Assert.AreEqual(username, userSessionLogin.UserName); Assert.AreEqual(userSessionLogin.UserName, userSessionRegister.UserName); Assert.AreNotEqual(userSessionLogin.Access_Token, userSessionRegister.Access_Token); }