Пример #1
0
 public function testbuild_generic_where_clause()
 {
     $prospectList = new ProspectList();
     //test with empty string params
     $expected = "prospect_lists.name like '%'";
     $actual = $prospectList->build_generic_where_clause('');
     $this->assertSame($expected, $actual);
     //test with valid string params
     $expected = "prospect_lists.name like '%'";
     $actual = $prospectList->build_generic_where_clause('1');
     $this->assertSame($expected, $actual);
 }