Exemplo n.º 1
0
 public function testRelationsToTableAlias()
 {
     $b = new WhereBuilder();
     $b->setQueryOptionRelationSeparator('/');
     $str = 'my/relations/are/very/nice';
     $expected = 'my.relations.are.very.nice';
     $this->assertEquals($expected, $b->relationsToTableAlias($str));
 }