/** * Test the invalid removal of a child by ID */ public function testRemoveChildByIdInvalid() { $ds = $this->getMockBuilder('\\Psecio\\Gatekeeper\\DataSource\\Mysql')->disableOriginalConstructor()->getMock(); $perm = new PermissionModel($ds); $this->assertFalse($perm->removeChild(1)); }