public function testName()
 {
     $c = new ConfigCollector(array(), 'foo');
     $this->assertEquals('foo', $c->getName());
     $this->assertArrayHasKey('foo', $c->getWidgets());
 }