@Test public void testBuildPath() { String methodName = "MethodName"; GrpcRoute subject = new GrpcRoute(service, methodName, null); String expectedPath = "/" + service.getPackageName() + "." + service.getServiceName() + "/" + methodName; assertEquals(expectedPath, subject.buildPath()); }
public String buildPath() { return "/" + service.getPackageName() + "." + service.getServiceName() + "/" + methodName; }
GrpcRoute { public String buildPath() { return "/" + service.getPackageName() + "." + service.getServiceName() + "/" + methodName; } }
GrpcRoute { public String buildPath() { return "/" + service.getPackageName() + "." + service.getServiceName() + "/" + methodName; } GrpcRoute(GrpcService service, String methodName, GrpcRequestHandler handler); }
GrpcRoute { public String buildPath() { return "/" + service.getPackageName() + "." + service.getServiceName() + "/" + methodName; } GrpcRoute(GrpcService service, String methodName, GrpcRequestHandler handler); String buildPath(); String buildOu(); }
GrpcRoute { public String buildPath() { return "/" + service.getPackageName() + "." + service.getServiceName() + "/" + methodName; } GrpcRoute(GrpcService service, String methodName, GrpcRequestHandler handler); String buildPath(); String buildOu(); final GrpcService service; final String methodName; final GrpcRequestHandler handler; }