public function testBlankRoleFail() { $this->user->addRole('COP User'); $this->assertTrue($this->user->isValid(array('roles'))); $this->user->addRole(''); $this->assertFalse($this->user->isValid(array('roles'))); }