public function testApiGetBus_ThrowsException_WhenBusDoesNotExist() { $router = $this->createChannelRouterComposite(); $this->setExpectedException(ResourceUndefinedException::class); $router->getBus('bus'); }