ImmutableSortedMap.of("b", b, "req-a", reqA, "a", a, "req-b", reqB));
EasyMock.expect(method.getParameterOrder()).andReturn(ImmutableList.of("req-b", "req-a"));
EasyMock.replay(method);
assertEquals(ImmutableSortedSet.of("req-b", "req-a", "a", "b"), ImmutableSortedMap.copyOf(
method.getParameters(), new ParameterComparator(method.getParameterOrder())).keySet());
EasyMock.verify(method);
}