### Question:
GrpcServiceBuilder extends AbstractServiceBuilder implements Builder<ServiceDescriptor> { public static GrpcServiceBuilder create(Object service, BeanManager beanManager) { return new GrpcServiceBuilder(service.getClass(), Instance.singleton(service), beanManager); } private  GrpcServiceBuilder(Class<?> serviceClass, Supplier<?> instance, BeanManager beanManager); static GrpcServiceBuilder create(Object service, BeanManager beanManager); static GrpcServiceBuilder create(Class<?> serviceClass, BeanManager beanManager); static GrpcServiceBuilder create(Class<?> serviceClass, Supplier<?> instance, BeanManager beanManager); @Override ServiceDescriptor build();  }### Answer:
@Test public void shouldCreateServiceFromInstance() { ServiceOne service = new ServiceOne(); assertServiceOne(GrpcServiceBuilder.create(service, beanManager)); }
@Test public void shouldCreateServiceFromClass() { assertServiceOne(GrpcServiceBuilder.create(ServiceOne.class, beanManager)); }
@Test public void shouldCreateServiceFromClassWithoutBeanManager() { assertServiceOne(GrpcServiceBuilder.create(ServiceOne.class, null)); }