Esempio n. 1
0
 /**
  * @test
  */
 public function selectMultipleCanFindTwoRows()
 {
     $this->testingFramework->createRecord('tx_phpunit_test', array('title' => 'foo'));
     $this->testingFramework->createRecord('tx_phpunit_test', array('title' => 'foo'));
     self::assertSame(array(array('title' => 'foo'), array('title' => 'foo')), \Tx_Phpunit_Service_Database::selectMultiple('title', 'tx_phpunit_test', 'title = "foo"'));
 }