public function assertWorkflows(TableNode $expected) {
    $workflow_info = [];
    foreach ($this->getWorkflows() as $workflow) {
      $workflow_info[] = [
        $workflow->label(),
        $workflow->id(),
        (string) $workflow->getTypePlugin()->label(),
      ];
    }
    $actual = new TableNode($workflow_info);

    (new TableEqualityAssertion($expected, $actual))
      ->expectHeader([
        'Label',
        'Machine name',
        'Type',
      ])
      ->ignoreRowOrder()
      ->setMissingRowsLabel(self::missingRowsLabelFor('workflow'))
      ->setUnexpectedRowsLabel(self::unexpectedRowsLabelFor('workflow'))
      ->assert();
  }
public function assertWorkflows(TableNode $expected) {
    $workflow_info = [];
    foreach ($this->getWorkflows() as $workflow) {
      $workflow_info[] = [
        $workflow->label(),
        $workflow->id(),
        (string) $workflow->getTypePlugin()->label(),
      ];
    }
    $actual = new TableNode($workflow_info);

    (new TableEqualityAssertion($expected, $actual))
      ->expectHeader([
        'Label',
        'Machine name',
        'Type',
      ])
      ->ignoreRowOrder()
      ->setMissingRowsLabel(self::missingRowsLabelFor('workflow'))
      ->setUnexpectedRowsLabel(self::unexpectedRowsLabelFor('workflow'))
      ->assert();
  }
public function assertWorkflows ( TableNode $ expected ) { $ workflow_info = [ ] ; foreach ( $ this -> getWorkflows ( ) as $ workflow ) { $ workflow_info [ ] = [ $ workflow -> label ( ) , $ workflow -> id ( ) , ( string ) $ workflow -> getTypePlugin ( ) -> label ( ) , ] ; } $ actual = new TableNode ( $ workflow_info ) ; ( new TableEqualityAssertion ( $ expected , $ actual ) ) -> expectHeader ( [ 'Label' , 'Machine name' , 'Type' , ] ) -> ignoreRowOrder ( ) -> setMissingRowsLabel ( self :: missingRowsLabelFor ( 'workflow' ) ) -> setUnexpectedRowsLabel ( self :: unexpectedRowsLabelFor ( 'workflow' ) ) -> assert ( ) ; }
Asserts the configuration of workflows.

@Then exactly the following workflows should exist

@throws \Exception
Asserts the configuration of workflows .