You are here

public function ToolkitTest::testSave in Drupal 9

Tests the Image::save() function.

File

core/tests/Drupal/KernelTests/Core/Image/ToolkitTest.php, line 69

Class

ToolkitTest
Tests the image toolkit.

Namespace

Drupal\KernelTests\Core\Image

Code

public function testSave() {
  $this
    ->assertFalse($this->image
    ->save());
  $this
    ->assertToolkitOperationsCalled([
    'save',
  ]);
}