ReturnValueDescriptor returnValueDescriptor = descriptor.getReturnValueDescriptor();
Set<GroupConversionDescriptor> groupConversionDescriptors = returnValueDescriptor.getGroupConversions();
assertTrue( groupConversionDescriptors.size() == 1 );
GroupConversionDescriptor groupConversionDescriptor = groupConversionDescriptors.iterator().next();
assertEquals( groupConversionDescriptor.getFrom(), Default.class, "Wrong from class for group conversion" );
List<ParameterDescriptor> parameterDescriptors = descriptor.getParameterDescriptors();
assertTrue( parameterDescriptors.size() == 1 );
ParameterDescriptor parameterDescriptor = parameterDescriptors.get( 0 );
groupConversionDescriptors = parameterDescriptor.getGroupConversions();
assertTrue( groupConversionDescriptors.size() == 1 );
groupConversionDescriptor = groupConversionDescriptors.iterator().next();
assertEquals( groupConversionDescriptor.getFrom(), Default.class, "Wrong from class for group conversion" );
}