/** * test credential removal * * @return void */ public function testEraseCredentials() { $entity = new SecurityUser($this->getUserMock()); $this->assertEmpty($entity->eraseCredentials()); }