Esempio n. 1
0
 /**
  * @test
  */
 public function toArrayWithTwoElementsReturnsArrayWithBothElementsInAddingOrder()
 {
     $model1 = new Tx_Oelib_Tests_Unit_Fixtures_TestingModel();
     $this->subject->add($model1);
     $model2 = new Tx_Oelib_Tests_Unit_Fixtures_TestingModel();
     $this->subject->add($model2);
     self::assertSame(array($model1, $model2), $this->subject->toArray());
 }