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