예제 #1
0
 /**
  * @test
  */
 public function countByWhereClauseWithTwoMatchingRecordsReturnsTwo()
 {
     $this->testingFramework->createRecord('tx_oelib_test', array('title' => 'bar'));
     $this->testingFramework->createRecord('tx_oelib_test', array('title' => 'bar'));
     self::assertSame(2, $this->subject->countByWhereClause('title = "bar"'));
 }