public function testPHPConfigurationIsReadCorrectly() {
$this
->assertEquals(array(
'include_path' => array(
dirname(__DIR__) . DIRECTORY_SEPARATOR . '_files' . DIRECTORY_SEPARATOR . '.',
'/path/to/lib',
),
'ini' => array(
'foo' => 'bar',
),
'const' => array(
'FOO' => FALSE,
'BAR' => TRUE,
),
'var' => array(
'foo' => FALSE,
),
'env' => array(
'foo' => TRUE,
),
'post' => array(
'foo' => 'bar',
),
'get' => array(
'foo' => 'bar',
),
'cookie' => array(
'foo' => 'bar',
),
'server' => array(
'foo' => 'bar',
),
'files' => array(
'foo' => 'bar',
),
'request' => array(
'foo' => 'bar',
),
), $this->configuration
->getPHPConfiguration());
}