@Test
public void testExportWrongConfig() throws Exception {

    final Map<String, Object> sProps = new HashMap<>();
    sProps.put("objectClass", new String[] {"java.lang.Runnable"});
    sProps.put("service.id", 51L);
    sProps.put("myProp", "myVal");
    sProps.put("service.exported.interfaces", "*");
    sProps.put(RemoteConstants.SERVICE_EXPORTED_CONFIGS, "org.apache.cxf.ws");
    ServiceReference sref = mockServiceReference(sProps);
    c.replay();
    List<ExportRegistration> ereg = rsaCore.exportService(sref, null);
    // Service should not be exported as the exported config does not match
    assertEquals(0, ereg.size());
    c.verify();
}