@Test
public void testServiceProvidedUiPathEmpty() {

    class MyService extends StatelessService {
        @Override
        public ServiceDocument getDocumentTemplate() {
            ServiceDocument serviceDocument = new ServiceDocument();
            serviceDocument.documentDescription = new ServiceDocumentDescription();
            serviceDocument.documentDescription.userInterfaceResourcePath = "";
            return serviceDocument;
        }
    }
    assertNull(Utils.getServiceUiResourcePath(new MyService()));
}