예제 #1
0
 public function setUp()
 {
     parent::setUp();
     $engine = new TestEngine($this->fixtures(), 'test');
     $engine->configure()->start(Request::create('/'));
     $this->module = new GoogleModule($engine);
     $this->module->configure()->start();
 }
예제 #2
0
 public function setUp()
 {
     parent::setUp();
     $this->associative = array('foo' => 'bar', 'cat' => 'bird', 'dog' => 'rat');
     $this->associative2 = array('foo' => 'modified', 'cannibal' => 'human');
     $this->mixed = array('first element', 'second element', 'foo' => 'bar', 42 => 'meaning of life', '44' => 'numeric string');
     $this->mixed2 = array('first element of mixed2', 'foo' => 'modified', 44 => 'override numeric string with number', 'last element of mixed2');
     $this->indexedNonSequential = array(1 => 'ein', 7 => 'sieben', 9 => 'neun', 11 => 'elf', 13 => 'dreizen');
     $this->indexedNonSequential2 = array(4 => 'vier', 6 => 'sechs', 10 => 'zen');
     $this->indexedSequential = array('William I', 'William II', 'Henry I', 'Stephen', 'Henry II', 'Richard I', 'John');
     $this->indexedSequential2 = array('Henry III', 'Edward I', 'Edward II', 'Edward III', 'Richard II', 'Henry IV', 'Henry V', 'Henry VI');
 }
예제 #3
0
 public function setUp()
 {
     parent::setUp();
     $this->loader = new ConfigLoader(new SitegearEnvironmentInfoProvider('testing'));
 }
 public function setUp()
 {
     parent::setUp();
     $this->guesser = new ExtensionMimeTypeGuesser($this->fixtures() . 'mime.types.test');
 }
예제 #5
0
 public function setUp()
 {
     parent::setUp();
     $this->formatter = new JsonFormatter();
 }
예제 #6
0
 public function setUp()
 {
     parent::setUp();
     $this->renderer = new PhpRenderer();
 }
 public function setUp()
 {
     parent::setUp();
     $this->registry = new RendererRegistry();
 }
예제 #8
0
 public function setUp()
 {
     parent::setUp();
     $this->loader = new PhpFileLoader();
 }