}
@Test
public void testAnonymousAnnotatedMethodShouldBeMap() throws Exception {
TestContextProvider contextProvider = new TestContextProvider();
ContextDescriptor contextDescriptor = contextDescriptorFactory.createContextDescriptor(contextProvider);
Method method = contextProvider.getClass().getMethod("getAnonMethod");
assertThat(contextDescriptor.getAnonymousProperties(), Matchers.not(Matchers.hasItem(method)));
assertThat(contextDescriptor.getProperties().values(), Matchers.not(Matchers.hasItem(method)));
}