@Test(expected = IllegalArgumentException.class)
public void testBootstrappingMethodIsRequiredToBeStatic() throws Exception {

    // GIVEN
    final Method nonstaticMethod = getClass().getMethod("nonstaticMethod");
    when(bootstrappingInpector.getAnnotatedMethods()).thenReturn(Arrays.asList(nonstaticMethod));
    final BootstrappingDecorator decorator = new BootstrappingDecorator();
    // WHEN
    decorator.beforeAll(invocation);
    // THEN
    // IllegalArgumentException is thrown. Method must be static
}