@Test
 public void specifiedOrder() {
   Method method =
       ReflectionUtils.findMethod(SampleEvents.class, "handleRaw", ApplicationEvent.class);
   ApplicationListenerMethodAdapter adapter = createTestInstance(method);
   assertEquals(42, adapter.getOrder());
 }
 @Test
 public void defaultOrder() {
   Method method =
       ReflectionUtils.findMethod(
           SampleEvents.class, "handleGenericString", GenericTestEvent.class);
   ApplicationListenerMethodAdapter adapter = createTestInstance(method);
   assertEquals(0, adapter.getOrder());
 }