public void cleansUpBoundResources() throws Throwable {
Method method = Sample.class.getMethod("someMethod");
when(invocation.getMethod()).thenReturn(method);
CrudMethodMetadataPopulatingMethodIntercceptor interceptor = CrudMethodMetadataPopulatingMethodIntercceptor.INSTANCE;
interceptor.invoke(invocation);
assertThat(TransactionSynchronizationManager.getResource(method), is(nullValue()));
}