protected function checkIsLoaded($adapter) { // Checks object state $image = $adapter->getResource(); $this->assertInstanceOf('\\Gmagick', $image); }