public function testConstruct() { $app = $this->getMockBuilder('Hyperframework\\Web\\App')->disableOriginalConstructor()->getMock(); Config::remove('hyperframework.app_root_path'); $app->__construct(dirname(__DIR__)); $this->assertNotNull(Config::get('hyperframework.app_root_path')); }
public function testRemove() { $this->mockEngineMethod('remove')->with('name'); Config::remove('name'); }