/** * @test */ public function existsExactlyOneRecordForTwoMatchesReturnsFalse() { $this->testingFramework->createRecord('tx_phpunit_test', array('title' => 'foo')); $this->testingFramework->createRecord('tx_phpunit_test', array('title' => 'foo')); self::assertFalse(\Tx_Phpunit_Service_Database::existsExactlyOneRecord('tx_phpunit_test', 'title = "foo"')); }