예제 #1
0
파일: DbTest.php 프로젝트: Konafets/oelib
 /**
  * @test
  */
 public function existsExactlyOneRecordForTwoMatchesReturnsFalse()
 {
     $this->testingFramework->createRecord('tx_oelib_test', array('title' => 'foo'));
     $this->testingFramework->createRecord('tx_oelib_test', array('title' => 'foo'));
     self::assertFalse(Tx_Oelib_Db::existsExactlyOneRecord('tx_oelib_test', 'title = "foo"'));
 }