Ejemplo n.º 1
0
 public function testGetNamespaces()
 {
     $application = new Application();
     $application->add(new \FooCommand());
     $application->add(new \Foo1Command());
     $this->assertEquals(array('foo'), $application->getNamespaces(), '->getNamespaces() returns an array of unique used namespaces');
 }