protected function baseTestLoadFile($path) { // Loads image file $adapter = $this->getAdapterInstance(); $adapter->loadFile($path); // Checks object state $this->checkIsLoaded($adapter); return $adapter; }