@Test
 public void testDecrement() {
   when(atomicNumber.decrementAndGet()).thenReturn(9L);
   long body = template.requestBody("direct:decrement", null, Long.class);
   verify(atomicNumber).decrementAndGet();
   assertEquals(9, body);
 }