public function testNotCorrectSignup() { $model = new SignupForm(['username' => 'troy.becker', 'email' => '*****@*****.**', 'password' => 'some_password']); expect('username and email are in use, user should not be created', $model->signup())->null(); }