public function testAllTriple() { $this->assertTrue(in_array($this->_instances->getAllTriple(), $this->_instances->getResourceQuery()->getWhere()->getElements())); $this->_instances->removeAllTriple(); $this->assertTrue(!in_array($this->_instances->getAllTriple(), $this->_instances->getResourceQuery()->getWhere()->getElements())); $this->_instances->addAllTriple(); $this->assertTrue(in_array($this->_instances->getAllTriple(), $this->_instances->getResourceQuery()->getWhere()->getElements())); }