/** * @covers \DCarbone\Camel\Hump\Where::root * @uses \DCarbone\Camel\Hump\Where * @expectedException \LogicException * @depends testCanSetRootNode * @param \DCarbone\Camel\Hump\Where $where */ public function testExceptionThrownWhenSettingAdditionalRootNodes(\DCarbone\Camel\Hump\Where $where) { $neq = $where->root('neq'); }
/** * @param Where $where * @return $this */ public function setWhere(Where $where) { $this->where = $where; $this->where->setCamel($this); return $this; }