public function testChangeEmailWithEmptyPassword()
 {
     RequestWrapper::inject(new Request(['newemail' => 'new@localhost', 'confirmemail' => 'new@localhost', 'passw' => '']));
     $controller = new AccountController();
     $response = $controller->changeEmail();
     $reflection = new \ReflectionProperty(get_class($response), 'data');
     $reflection->setAccessible(true);
     $response_data = $reflection->getValue($response);
     $this->assertNotEmpty($response_data['error']);
 }