Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 5eec1af

Browse files
committed
testCorrectExtendNamesFromGlobalNamespace
1 parent b6d82af commit 5eec1af

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/Generator/ClassGeneratorTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,13 @@ public function testCorrectExtendNames()
11051105
$classGenerator->setName('ClassName');
11061106
$classGenerator->setExtendedClass('DateTime');
11071107
$this->assertContains('class ClassName extends DateTime', $classGenerator->generate());
1108+
}
11081109

1110+
/**
1111+
* @group 75
1112+
*/
1113+
public function testCorrectExtendNamesFromGlobalNamespace()
1114+
{
11091115
$classGenerator = new ClassGenerator();
11101116
$classGenerator->setName('ClassName');
11111117
$classGenerator->setNamespaceName('SomeNamespace');

0 commit comments

Comments
 (0)