/** * @test */ public function appendAppendsItemAfterExistingItems() { $model = new Tx_Oelib_Tests_Unit_Fixtures_TestingModel(); $this->subject->add($model); $otherList = new Tx_Oelib_List(); $otherModel = new Tx_Oelib_Tests_Unit_Fixtures_TestingModel(); $otherList->add($otherModel); $this->subject->append($otherList); self::assertSame($model, $this->subject->first()); }