You are here

public function Issue1335Test::testGlobalObject in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/Regression/GitHub/1335/Issue1335Test.php \Issue1335Test::testGlobalObject()

File

vendor/phpunit/phpunit/tests/Regression/GitHub/1335/Issue1335Test.php, line 53

Class

Issue1335Test
@runTestsInSeparateProcesses @preserveGlobalState enabled

Code

public function testGlobalObject() {
  $this
    ->assertEquals((object) array(
    'foo' => 'bar',
  ), $GLOBALS['globalObject']);
}