### Question:
ServiceBundleImpl implements ServiceBundle { @Override public ServiceBundle addService(Object object) { if (debug) { logger.debug("ServiceBundleImpl::addServiceObject(object)- service added"); } addServiceObject(null, object); return this; } ServiceBundleImpl(final String address,
                             final QueueBuilder requestQueueBuilder,
                             final QueueBuilder responseQueueBuilder,
                             final QueueBuilder webResponseQueueBuilder,
                             final Factory factory, final boolean asyncCalls,
                             final BeforeMethodCall beforeMethodCall,
                             final BeforeMethodCall beforeMethodCallAfterTransform,
                             final Transformer<Request, Object> argTransformer,
                             final boolean invokeDynamic,
                             final QBitSystemManager systemManager,
                             final HealthServiceAsync healthService,
                             final StatsCollector statsCollector,
                             final Timer timer,
                             final int sampleStatFlushRate,
                             final int checkTimingEveryXCalls,
                             final CallbackManager callbackManager,
                             final EventManager eventManager,
                             final BeforeMethodSent beforeMethodSent,
                             final BeforeMethodCall beforeMethodCallOnServiceQueue,
                             final AfterMethodCall afterMethodCallOnServiceQueue); @Override String address(); @Override ServiceBundle addService(Object object); @Override ServiceBundle addServiceWithQueueCallBackHandlers(final Object serviceObject, final QueueCallBackHandler... queueCallBackHandlers); @Override ServiceBundle addServiceObject(final String serviceAddress, final Object serviceObject); @Override ServiceBundle addServiceObjectWithQueueCallBackHandlers(final String serviceAddress,
                                                                   final Object serviceObject,
                                                                   final QueueCallBackHandler... queueCallBackHandlers); ServiceBundle addServiceConsumer(final String serviceAddress,
                                            final Consumer<MethodCall<Object>> methodCallConsumer); void addServiceService(final String serviceAddress, final ServiceQueue serviceQueue); void addServiceService(final String objectName, final String serviceAddress, final ServiceQueue serviceQueue); @Override Queue<Response<Object>> responses(); @Override SendQueue<MethodCall<Object>> methodSendQueue(); @Override @SuppressWarnings("unchecked") void call(final MethodCall<Object> methodCall); @Override void call(List<MethodCall<Object>> methodCalls); @Override T createLocalProxy(final Class<T> serviceInterface, final String myService); T createOneWayLocalProxy(final Class<T> serviceInterface, final String myService); @Override void flushSends(); @SuppressWarnings("Convert2streamapi") void stop(); @Override List<String> endPoints(); void startReturnHandlerProcessor(ReceiveQueueListener<Response<Object>> listener); void startWebResponseReturnHandler(ReceiveQueueListener<Response<Object>> listener); void startReturnHandlerProcessor(); ServiceBundle startUpCallQueue(); @SuppressWarnings("Convert2streamapi") void flush(); ServiceBundle addServiceQueue(String objectName, ServiceQueue serviceQueue);  }### Answer:
@Test public void testAddService() throws Exception { serviceBundle.addServiceObject("/adder", adderService); final List<String> endPoints = serviceBundle.endPoints(); puts(endPoints); endPoints.contains("/foo/adder"); }