public function testApiImport_CallsMethodOnModel() { $loop = $this->loop; $target = new Loop($model = new LoopModelMock()); $all = true; $this->expect('import', [$model, $all]); $loop->import($target, $all); }