/** * Test description. * * @return void */ public function testInstanceIsShared() { $this->assertSame(Application::getInstance(), Application::getInstance()); }
/** * 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); }