/** * Test the false return of tyring to remove a child when no ID * is set on the parent group */ public function testRemoveChildNoId() { $ds = $this->getMockBuilder('\\Psecio\\Gatekeeper\\DataSource\\Mysql')->disableOriginalConstructor()->getMock(); $group = new GroupModel($ds); $this->assertFalse($group->removeChild(1)); }