@Test public void initialAddReturnsNull() { assertNull(registry.addService(basicServiceDefinition)); assertNull(registry.addService(multiServiceDefinition)); }
@Nullable public ServerServiceDefinition addService(ServerServiceDefinition service) { return services.put(service.getName(), service); }
MutableHandlerRegistry extends HandlerRegistry { @Nullable public ServerServiceDefinition addService(ServerServiceDefinition service) { return services.put(service.getName(), service); } }
MutableHandlerRegistry extends HandlerRegistry { @Nullable public ServerServiceDefinition addService(ServerServiceDefinition service) { return services.put(service.getName(), service); }  }
MutableHandlerRegistry extends HandlerRegistry { @Nullable public ServerServiceDefinition addService(ServerServiceDefinition service) { return services.put(service.getName(), service); }  @Nullable ServerServiceDefinition addService(ServerServiceDefinition service); boolean removeService(ServerServiceDefinition service); @Override @Nullable ServerMethodDefinition<?, ?> lookupMethod(String methodName, @Nullable String authority); }
MutableHandlerRegistry extends HandlerRegistry { @Nullable public ServerServiceDefinition addService(ServerServiceDefinition service) { return services.put(service.getName(), service); }  @Nullable ServerServiceDefinition addService(ServerServiceDefinition service); boolean removeService(ServerServiceDefinition service); @Override @Nullable ServerMethodDefinition<?, ?> lookupMethod(String methodName, @Nullable String authority);  }