public function assertImageStyles(TableNode $expected) {
    $image_style_info = [];
    foreach ($this->getImageStyles() as $image_style) {
      $image_style_info[] = [
        $image_style->label(),
        $image_style->id(),
      ];
    }
    $actual = new TableNode($image_style_info);

    (new TableEqualityAssertion($expected, $actual))
      ->expectHeader([
        'Style name',
        'Machine name',
      ])
      ->ignoreRowOrder()
      ->setMissingRowsLabel(self::missingRowsLabelFor('workflow'))
      ->setUnexpectedRowsLabel(self::unexpectedRowsLabelFor('workflow'))
      ->assert();
  }
public function assertImageStyles(TableNode $expected) {
    $image_style_info = [];
    foreach ($this->getImageStyles() as $image_style) {
      $image_style_info[] = [
        $image_style->label(),
        $image_style->id(),
      ];
    }
    $actual = new TableNode($image_style_info);

    (new TableEqualityAssertion($expected, $actual))
      ->expectHeader([
        'Style name',
        'Machine name',
      ])
      ->ignoreRowOrder()
      ->setMissingRowsLabel(self::missingRowsLabelFor('workflow'))
      ->setUnexpectedRowsLabel(self::unexpectedRowsLabelFor('workflow'))
      ->assert();
  }
public function assertImageStyles ( TableNode $ expected ) { $ image_style_info = [ ] ; foreach ( $ this -> getImageStyles ( ) as $ image_style ) { $ image_style_info [ ] = [ $ image_style -> label ( ) , $ image_style -> id ( ) , ] ; } $ actual = new TableNode ( $ image_style_info ) ; ( new TableEqualityAssertion ( $ expected , $ actual ) ) -> expectHeader ( [ 'Style name' , 'Machine name' , ] ) -> ignoreRowOrder ( ) -> setMissingRowsLabel ( self :: missingRowsLabelFor ( 'workflow' ) ) -> setUnexpectedRowsLabel ( self :: unexpectedRowsLabelFor ( 'workflow' ) ) -> assert ( ) ; }
Asserts the configuration of image styles.

@Then exactly the following image styles should exist

@throws \Exception
Asserts the configuration of image styles .