Beispiel #1
0
 public function testCreate()
 {
     $loader = ArrayLoader::create($this->array);
     $this->assertEquals($this->array, $loader->get());
 }
Beispiel #2
0
 public function setUp()
 {
     $this->array = ['bla' => 'blu', 'level0' => ['01' => '001', '02' => '002', '03' => ['index' => 'value', 'object' => new \stdClass(), 'int' => 3]], 'false' => false, 'true' => true, 'zeroString' => '0', 'zeroInt' => 0, 'oneString' => '1', 'oneInt' => 1, 'twoString' => '2'];
     $loader = ArrayLoader::create($this->array);
     $this->instance = new Dotor($loader);
 }