public function testInstanceOfPerSetters() { $notLike = new NotLike(); $this->assertInstanceOf('Zend\\Db\\Sql\\Predicate\\Like', $notLike->setIdentifier('bar')); $this->assertInstanceOf('Zend\\Db\\Sql\\Predicate\\Like', $notLike->setSpecification('%1$s NOT LIKE %2$s')); $this->assertInstanceOf('Zend\\Db\\Sql\\Predicate\\Like', $notLike->setLike('foo%')); }
public function __construct($identifier, $like) { parent::__construct($identifier, $like); }