public function testNonExistantFormatter() { $this->setExpectedException('RuntimeException'); $pool = new Pool(); $pool->get('foo'); }