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();
  }