/** * Test username getter / setter. */ public function testUsername() { $protection = new Protection(); $username = '******'; $protection->setUsername($username); $this->assertEquals($username, $protection->getUsername()); }