private InputStream getResourceAsStream(final String resourceName) {
return Thread.currentThread().getContextClassLoader().getResourceAsStream(resourceName);
}
private NATSituation createNATBehaviorFromValues(final String[] values) {
final NATFeatureRealization clientMapping = NATFeatureRealization.valueOf(values[0].toUpperCase());
final NATFeatureRealization clientFiltering = NATFeatureRealization.valueOf(values[1].toUpperCase());
final NATFeatureRealization serviceMapping = NATFeatureRealization.valueOf(values[2].toUpperCase());
final NATFeatureRealization serviceFiltering = NATFeatureRealization.valueOf(values[3].toUpperCase());
return new NATSituation(clientMapping, clientFiltering, serviceMapping, serviceFiltering);
}