示例#1
0
文件: CoOptionTest.php 项目: mpyw/co
 public function _before()
 {
     $this->default = CoOption::getDefault();
     self::$CoOption = Proxy::get(CoOption::class);
 }
示例#2
0
 public function _before()
 {
     $this->Basic = Proxy::get(Basic::class);
 }
示例#3
0
 public function _before()
 {
     $this->Magic = Proxy::get(Magic::class);
 }
示例#4
0
 public function _before()
 {
     self::$GeneratorContainer = Proxy::get(GeneratorContainer::class);
 }
示例#5
0
文件: CoTest.php 项目: mpyw/co
 public function testGetDefaultOptions()
 {
     $expected = Proxy::get(CoOption::class)->getStatic('defaults');
     $actual = Co::getDefaultOptions();
     $this->assertEquals($expected, $actual);
 }