@Test public void instantiateRoutingService_other() throws Exception { changeOsIsLinuxField(false); noServiceThrown.expect(UnsupportedOperationException.class); routingServiceFactory.instantiateRoutingService(routingDefinition); }
public Routing instantiateRoutingService(RoutingDefinition initializer) { if (SystemUtils.IS_OS_LINUX) { return new LinuxRoutingService(processFunction, initializer); } throw new UnsupportedOperationException("OS is not supported by service"); }
RoutingServiceFactory { public Routing instantiateRoutingService(RoutingDefinition initializer) { if (SystemUtils.IS_OS_LINUX) { return new LinuxRoutingService(processFunction, initializer); } throw new UnsupportedOperationException("OS is not supported by service"); } }
RoutingServiceFactory { public Routing instantiateRoutingService(RoutingDefinition initializer) { if (SystemUtils.IS_OS_LINUX) { return new LinuxRoutingService(processFunction, initializer); } throw new UnsupportedOperationException("OS is not supported by service"); }  }
RoutingServiceFactory { public Routing instantiateRoutingService(RoutingDefinition initializer) { if (SystemUtils.IS_OS_LINUX) { return new LinuxRoutingService(processFunction, initializer); } throw new UnsupportedOperationException("OS is not supported by service"); }  Routing instantiateRoutingService(RoutingDefinition initializer); }
RoutingServiceFactory { public Routing instantiateRoutingService(RoutingDefinition initializer) { if (SystemUtils.IS_OS_LINUX) { return new LinuxRoutingService(processFunction, initializer); } throw new UnsupportedOperationException("OS is not supported by service"); }  Routing instantiateRoutingService(RoutingDefinition initializer);  }