public function testIsGuarded() { $profile = new Profile(); $this->assertFalse($this->object->isGuarded('username')); $this->assertTrue($this->object->isGuarded('password')); $this->assertTrue($profile->isGuarded('lastLogin')); // All denied }