Author: Bernhard Wick (bw@appserver.io)
Inheritance: extends AppserverIo\Appserver\Core\Utilities\AppEnvironmentHelper
 /**
  * Checks if the getEnvironmentAwareGlobPattern() method works as expected.
  *
  * @param string $appBase       The base file path to the application
  * @param string $fileGlob      The intermediate path (or glob pattern) from app base path to file extension
  * @param string $fileExtension The extension of the file
  * @param array  $globDirResult The result of the internal call to globDir()
  * @param string $modifier      The modifier we need to test paths through our code
  * @param string $result        The expected result to test against
  *
  * @return void
  *
  * @dataProvider getEnvironmentAwareGlobPatternDataProvider
  */
 public function testGetEnvironmentAwareGlobPattern($appBase, $fileGlob, $fileExtension, $globDirResult, $modifier, $result)
 {
     // set the needed result of the internal globDir() method
     AppEnvironmentHelperMock::setGlobDirResult($globDirResult);
     // set the modifier as we need it
     AppEnvironmentHelperMock::setEnvironmentProperty($modifier);
     $this->assertSame($result, AppEnvironmentHelperMock::getEnvironmentAwareGlobPattern($appBase, $fileGlob, 0, $fileExtension));
 }