/** * Testing the hasAttribute method. * * @since 1.2.1 */ public function testHasAttribute() { $this->assertTrue($this->person->hasAttribute('password'), 'testing the hasAttribute method for true'); $this->assertFalse($this->person->hasAttribute('doesnotexist'), 'testing the hasAttribute method for false'); }