Пример #1
0
 /**
  * Test shutdown function with specific entities aliased pre initialised
  * 
  * @return void
  */
 public function testShutdownFunctionWithSpecificEntitiesAliasedPreInitialised()
 {
     ExS\Core::init();
     for ($i = 1; $i <= 10; $i++) {
         ExS\Core::newFromEntity('\\stdClass', 'e-' . $i);
     }
     for ($i = 1; $i <= 10; $i++) {
         ExS\Core::shutdown('e-' . $i);
     }
 }
 /**
  * (non-PHPdoc)
  * @see PHPUnit_Framework_TestCase::tearDown()
  */
 public function tearDown()
 {
     // shutdown ExecutorService
     ExS\Core::shutdown();
 }