subject = new NamespaceHelper(); $expected = []; $this->assertEquals($expected, $this->subject->getNameSpaces()); } public function testAddNameSpaces(): void { $this->subject = new NamespaceHelper(); $this->subject->addNameSpaces('testNameSpace'); $expected = ['testNameSpace']; $this->assertEquals($expected, $this->subject->getNameSpaces()); $this->subject->addNameSpaces('testNameSpace2'); $expected = ['testNameSpace', 'testNameSpace2']; $this->assertEquals($expected, $this->subject->getNameSpaces()); } }