public static String getApplicationName(SofaRequest request) {
        String appName = (String) request.getRequestProp(RemotingConstants.HEAD_APP_NAME);
        return appName == null ? "" : appName;
    }
@Test
    public void testGetApplicationName() {
        SofaRequest request = new SofaRequest();
        String applicationName = SofaRpcUtils.getApplicationName(request);
        assertEquals("", applicationName);

        request.addRequestProp("app", "test-app");
        applicationName = SofaRpcUtils.getApplicationName(request);
        assertEquals("test-app", applicationName);
    }