public function assertImageEffects(TableNode $expected) {
    $image_style_info = [];
    foreach ($this->getImageStyles() as $image_style) {
      foreach ($image_style->getEffects() as $effect) {
        $image_style_info[] = [
          $image_style->label(),
          (string) $effect->label(),
          $this->formatImageEffectSummary($effect->getSummary()),
        ];
      }
    }
    $actual = new TableNode($image_style_info);

    (new TableEqualityAssertion($expected, $actual))
      ->expectHeader([
        'Image style',
        'Effect',
        'Summary',
      ])
      ->setMissingRowsLabel(self::missingRowsLabelFor('workflow'))
      ->setUnexpectedRowsLabel(self::unexpectedRowsLabelFor('workflow'))
      ->assert();
  }
public function assertImageEffects(TableNode $expected) {
    $image_style_info = [];
    foreach ($this->getImageStyles() as $image_style) {
      foreach ($image_style->getEffects() as $effect) {
        $image_style_info[] = [
          $image_style->label(),
          (string) $effect->label(),
          $this->formatImageEffectSummary($effect->getSummary()),
        ];
      }
    }
    $actual = new TableNode($image_style_info);

    (new TableEqualityAssertion($expected, $actual))
      ->expectHeader([
        'Image style',
        'Effect',
        'Summary',
      ])
      ->setMissingRowsLabel(self::missingRowsLabelFor('workflow'))
      ->setUnexpectedRowsLabel(self::unexpectedRowsLabelFor('workflow'))
      ->assert();
  }
public function assertImageEffects ( TableNode $ expected ) { $ image_style_info = [ ] ; foreach ( $ this -> getImageStyles ( ) as $ image_style ) { foreach ( $ image_style -> getEffects ( ) as $ effect ) { $ image_style_info [ ] = [ $ image_style -> label ( ) , ( string ) $ effect -> label ( ) , $ this -> formatImageEffectSummary ( $ effect -> getSummary ( ) ) , ] ; } } $ actual = new TableNode ( $ image_style_info ) ; ( new TableEqualityAssertion ( $ expected , $ actual ) ) -> expectHeader ( [ 'Image style' , 'Effect' , 'Summary' , ] ) -> setMissingRowsLabel ( self :: missingRowsLabelFor ( 'workflow' ) ) -> setUnexpectedRowsLabel ( self :: unexpectedRowsLabelFor ( 'workflow' ) ) -> assert ( ) ; }
Asserts the configuration of image effects.

@Then exactly the following image effects should exist

@throws \Exception
Asserts the configuration of image effects .