@Test public void testInvocation() { List<String> expected = new ArrayList<String>(); expected.add(0 + Interceptor1.class.getSimpleName()); expected.add(0 + Interceptor2.class.getSimpleName()); expected.add(1 + Interceptor1.class.getSimpleName()); expected.add(1 + Interceptor2.class.getSimpleName()); expected.add(2 + Interceptor1.class.getSimpleName()); ActionSequence.reset(); bean.ping(); assertEquals(expected, ActionSequence.getSequenceData()); }