@Test
public void testConfigurationEquals() throws Exception {
EndpointConfiguration cfg1 = ConfigurationHelper.createConfiguration("mapped://foo?one=true&two=2", context);
EndpointConfiguration cfg2 = ConfigurationHelper.createConfiguration("mapped://foo?two=2&one=true", context);
String uri1 = cfg1.toUriString(EndpointConfiguration.UriFormat.Complete);
String uri2 = cfg2.toUriString(EndpointConfiguration.UriFormat.Complete);
assertEquals("Query paramater order should not matter", uri1, uri2);
}
private static class ConfiguredComponent implements Component {
private CamelContext context;