public function testClass()
{
$l = new Locator();
$l->set('config1', 'PopTest\\Service\\Foo')->set('config2', 'PopTest\\Service\\Foo->bar')->set('config3', 'PopTest\\Service\\Foo::baz');
$c1 = $l->get('config1');
$c2 = $l->get('config2');
$c3 = $l->get('config3');
$this->assertInstanceOf('PopTest\\Service\\Foo', $c1);
$this->assertInstanceOf('Pop\\Config', $c2);
$this->assertInstanceOf('Pop\\Config', $c3);
}