public function createLoop($methods = null) { $select = new SelectLoop(); return $this->getMock(Loop::class, $methods, [$select]); }