You are here

public function ImageTest::testGetToolkitId in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Image/ImageTest.php \Drupal\Tests\Core\Image\ImageTest::testGetToolkitId()

Tests \Drupal\Core\Image\Image::getToolkitId().

File

core/tests/Drupal/Tests/Core/Image/ImageTest.php, line 200
Contains \Drupal\Tests\Core\Image\ImageTest.

Class

ImageTest
Tests the image class.

Namespace

Drupal\Tests\Core\Image

Code

public function testGetToolkitId() {
  $this
    ->getTestImage(FALSE);
  $this
    ->assertEquals('gd', $this->image
    ->getToolkitId());
}