/** * @test */ public function existsRecordForTwoMatchesReturnsTrue() { $this->testingFramework->createRecord('tx_oelib_test', array('title' => 'foo')); $this->testingFramework->createRecord('tx_oelib_test', array('title' => 'foo')); self::assertTrue(Tx_Oelib_Db::existsRecord('tx_oelib_test', 'title = "foo"')); }