public function testRegisterAlreadyRegistered() { $this->registry->setService('one', $this->service1->reveal()); $this->registry->setService('one', $this->service1->reveal()); }