/**
  * Check if tests should be skipped.
  */
 protected function setUp()
 {
     parent::setUp();
     if (!file_exists($this->getReferenceToCredentialsFile())) {
         $this->markTestSkipped('Credentials file for Trusted shop tests must be created.');
     }
 }
 /**
  * Sets default language to English.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->getTranslator()->setLanguage(1);
 }