Ejemplo n.º 1
0
 public function testApplyCustomText()
 {
     $source = new NetteDbFilterSource($this->tableName, 'id', $this->user, $this->context);
     DataSourceChecker::matchCustomText(clone $source, Database\Table\ActiveRow::class);
 }
Ejemplo n.º 2
0
 public function testApplyCustomText()
 {
     $source = $this->createDoctrineSource(Sources\Tests\Entity\User::class, $this->user);
     DataSourceChecker::matchCustomText(clone $source, Sources\Tests\Entity\User::class);
 }
Ejemplo n.º 3
0
 public function testApplyCustomText()
 {
     $source = new ArrayFilterSource('users', 'id', self::$user);
     DataSourceChecker::matchCustomText(clone $source, Sources\ArrayHash::class);
 }