### Question:
SofaRpcUtils { public static String getMethodResourceName(SofaRequest request) { StringBuilder buf = new StringBuilder(64); buf.append(request.getInterfaceName()) .append("#") .append(request.getMethodName()) .append("("); boolean isFirst = true; for (String methodArgSig : request.getMethodArgSigs()) { if (!isFirst) { buf.append(","); } else { isFirst = false; } buf.append(methodArgSig); } buf.append(")"); return buf.toString(); } private  SofaRpcUtils(); static String getApplicationName(SofaRequest request); static String getInterfaceResourceName(SofaRequest request); static String getMethodResourceName(SofaRequest request); static Object[] getMethodArguments(SofaRequest request);  }### Answer:
@Test public void testGetMethodResourceName() { SofaRequest request = new SofaRequest(); request.setInterfaceName("com.alibaba.csp.sentinel.adapter.sofa.rpc.service.DemoService"); request.setMethodName("sayHello"); request.setMethodArgSigs(new String[]{"java.lang.String", "int"}); String methodResourceName = SofaRpcUtils.getMethodResourceName(request); assertEquals("com.alibaba.csp.sentinel.adapter.sofa.rpc.service.DemoService#sayHello(java.lang.String,int)", methodResourceName); }