@Test public void testDeriveParameter_noDerivation() { Map<String, ParameterValue> params = new HashMap<>(); ParameterValue pv = new ParameterValueBuilder().setIntValue(EtherTypeClassifierDefinition.IPv4_VALUE).build(); params.put(EtherTypeClassifierDefinition.ETHERTYPE_PARAM, pv); List<Map<String, ParameterValue>> result = derivator.deriveParameter(params); assertEquals(1, result.size()); assertEquals(params, result.get(0)); }
public abstract List<Map<String, ParameterValue>> deriveParameter(Map<String, ParameterValue> params);
ParamDerivator { public abstract List<Map<String, ParameterValue>> deriveParameter(Map<String, ParameterValue> params); }
ParamDerivator { public abstract List<Map<String, ParameterValue>> deriveParameter(Map<String, ParameterValue> params);  }
ParamDerivator { public abstract List<Map<String, ParameterValue>> deriveParameter(Map<String, ParameterValue> params);  abstract List<Map<String, ParameterValue>> deriveParameter(Map<String, ParameterValue> params); }
ParamDerivator { public abstract List<Map<String, ParameterValue>> deriveParameter(Map<String, ParameterValue> params);  abstract List<Map<String, ParameterValue>> deriveParameter(Map<String, ParameterValue> params); static final Long IPv4; static final Long IPv6; static final ParamDerivator ETHER_TYPE_DERIVATOR; }