	@Test
	public void shouldAddToMetadataCollectionWhenOnMethod() throws Exception {

		Method method = DummyModel.class.getDeclaredMethod("getChildren");
		handler.handle(metaData, annotation, method);
		CollectionMetaData data = new CollectionMetaData(DummyModel.class, "children", DummyModel.class, Set.class, true);
		verify(metaData).addCollection(data);
	}