Example #1
0
 /**
  * Test description.
  *
  * @return void
  */
 public function testInstanceIsShared()
 {
     $this->assertSame(Application::getInstance(), Application::getInstance());
 }
Example #2
0
 /**
  * Creates test suite for usage with Mink.
  *
  * @param string $class_name Test case class name.
  *
  * @return RegularTestSuite
  */
 public static function suite($class_name)
 {
     $application = Application::getInstance();
     return $application->getTestSuiteFactory()->createSuiteFromTestCase($class_name);
 }