Beispiel #1
0
 public function _before()
 {
     $this->default = CoOption::getDefault();
     self::$CoOption = Proxy::get(CoOption::class);
 }
Beispiel #2
0
 public function _before()
 {
     $this->Basic = Proxy::get(Basic::class);
 }
Beispiel #3
0
 public function _before()
 {
     $this->Magic = Proxy::get(Magic::class);
 }
Beispiel #4
0
 public function _before()
 {
     self::$GeneratorContainer = Proxy::get(GeneratorContainer::class);
 }
Beispiel #5
0
 public function testGetDefaultOptions()
 {
     $expected = Proxy::get(CoOption::class)->getStatic('defaults');
     $actual = Co::getDefaultOptions();
     $this->assertEquals($expected, $actual);
 }