mapping.buildMapper(context);
final ClassMapper classMapper = mock(ClassMapper.class);
when(classMapper.getContext()).thenReturn(context);
when(classMapper.getPersistentType()).thenReturn(FakeAggregate.class);
final Method method = FakeAggregate.class.getMethod("getComment", null);
FieldContainer fieldContainer = new FieldContainer(method);
PropertyMapper propertyComponentMapper = new PropertyMapper(fieldContainer);
propertyComponentMapper.setMapper(classMapper);
return propertyComponentMapper;
}