public function testApiExport_ReturnsCaller() { $loop = $this->loop; $target = new Loop($model = new LoopModelMock()); $this->expect('export'); $this->assertSame($loop, $loop->export($target)); }