public function testFliMuxSetup() { $app = new StubResolverApp(); $app->configure(new DefaultConfiguration()); $mux = new ResolverAppMux(); $mux->addApp($app); $mux->run(); $this->assertEquals($app->chainApp->called, 1); }
public function __construct() { parent::__construct(); $fli = new DefaultResolverApp(); $fli->configure(new DemoConfiguration()); $this->addApp($fli); }
public function __construct(TestConfiguration $cfg) { parent::__construct(); $fli = new DefaultResolverApp(); $fli->configure($cfg); $this->addApp($fli); }