public void ThenTheUserConfirmTheRegistration() { Login user = new Login() { userName = _user.UserName, password = _user.Password }; var answer = AccountAPI.registerUser(user); answer.StatusCode.ToString().Should().Be("Created"); }