@Test
public void multipleGroupConversionsOnConstructorParameter() throws Exception {
//when
List<BeanConfiguration<? super User>> beanConfigurations = provider.getBeanConfigurationForHierarchy( User.class );
ConstrainedExecutable constructor = findConstrainedConstructor( beanConfigurations, User.class, Address.class );
//then
Map<Class<?>, Class<?>> expected = newHashMap();
expected.put( Default.class, BasicPostal.class );
expected.put( Complete.class, FullPostal.class );
assertThat( constructor.getParameterMetaData( 0 ).getGroupConversions() ).isEqualTo( expected );
}