public function setUp() { parent::setUp(); TestUtils::setStaticProperty('google\\appengine\\runtime\\CurlLite', 'logging_callback', [$this, 'mockLog']); }
private function resetLastFlushTime($new_time) { TestUtils::setStaticProperty('google\\appengine\\api\\log\\LogService', 'last_flush_time', $new_time); }
/** * @dataProvider splitPathOnWilcardDataProvider */ public function testSplitPathOnWildcard($input, $output) { $glob = new Glob(); $result = TestUtils::invokeMethod($glob, "splitPathOnWildcard", [$input]); $this->assertEquals($output, $result); }