function ToolkitTest::testLoad
Tests Image's methods.
File
- 
              core/tests/ Drupal/ FunctionalTests/ Image/ ToolkitTest.php, line 33 
Class
- ToolkitTest
- Tests image toolkit functions.
Namespace
Drupal\FunctionalTests\ImageCode
public function testLoad() {
  $image = $this->getImage();
  $this->assertIsObject($image);
  $this->assertEqual($image->getToolkitId(), 'test', 'Image had toolkit set.');
  $this->assertToolkitOperationsCalled([
    'parseFile',
  ]);
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
