function testCallRegisterShutdownOnSchedule()
 {
     $this->assertArrayNotHasKey('register_shutdown_function', $GLOBALS);
     $this->manager->expects($this->never())->method('execute');
     $this->scheduler->schedule($this->manager);
     $this->assertSame(array($this->manager, 'execute'), $GLOBALS['register_shutdown_function']);
 }
 public function schedule(Executable $manager)
 {
     $manager->execute();
 }