Exemplo n.º 1
0
 public function setUp()
 {
     $this->testCase = $this->getMockBuilder(AbstractTestCase::class)->setMethods(['getName'])->getMock();
     $this->testCase->expects($this->any())->method('getName')->willReturn('testFooMethod');
     ConfigHelper::setEnvironmentVariables(ConfigHelper::getDummyConfig());
     ConfigHelper::unsetConfigInstance();
 }