public function testBlankUsernameFail()
{
$user = $this->getService('fos_user.user_manager')->createUser();
$violations = $this->getService('validator')->validate($user, 'Registration');
$this->assertTrue($this->hasViolationForPropertyPath($violations, 'username'));
}