assertLanguage example

$this->assertSame($label$language->label());
    $this->assertSame($direction$language->getDirection());
    $this->assertSame(0, $language->getWeight());
    $this->assertFalse($language->isLocked());
  }

  /** * Tests migration of Drupal 6 languages to configurable language entities. */
  public function testLanguageMigration() {
    $this->executeMigration('language');
    $this->assertLanguage('en', 'English');
    $this->assertLanguage('fr', 'French');
  }

}
Home | Imprint | This part of the site doesn't use cookies.