    @Test
    public void testSetAppNameByConfig() {

        PublisherRegistration publisherRegistration = new PublisherRegistration(dataId);

        Publisher publisher = registryClient.register(publisherRegistration);
        PublisherRegister register = ((DefaultPublisher) publisher).assembly();

        assertEquals(appName, register.getAppName());

    }