public function testRecursiveException()
{
$this->setExpectedException('Pop\\Service\\Exception');
$l = new Locator(array('service1' => function ($locator) {
return $locator->get('service2');
}, 'service2' => function ($locator) {
return $locator->get('service1');
}));
$s = $l->get('service1');
}