### Question:
RouteGuideService extends RouteGuideGrpc.RouteGuideImplBase { @Override public void getFeature(Point request, StreamObserver<Feature> responseObserver) { logger.info("GetFeature"); responseObserver.onNext(checkFeature(request)); responseObserver.onCompleted(); } @Inject  RouteGuideService(Features features); @Override void getFeature(Point request, StreamObserver<Feature> responseObserver); @Override void listFeatures(Rectangle request, StreamObserver<Feature> responseObserver); @Override StreamObserver<Point> recordRoute(final StreamObserver<RouteSummary> responseObserver); @Override StreamObserver<RouteNote> routeChat(final StreamObserver<RouteNote> responseObserver);  }### Answer:
@Test void getFeature() { Point point = Point.newBuilder().setLongitude(1).setLatitude(1).build(); Feature unnamedFeature = Feature.newBuilder().setName("").setLocation(point).build(); Feature feature = blockingService.getFeature(point); assertEquals(unnamedFeature, feature); Feature namedFeature = Feature.newBuilder().setName("name").setLocation(point).build(); features.add(namedFeature); feature = blockingService.getFeature(point); assertEquals(namedFeature, feature); }