### Question:
ArgumentTypeRegistry { public static <T> ArgumentType<T> getArgumentType(PropertyDesc propertyDesc) { Class<?> propertyType = propertyDesc.getPropertyType(); if (propertyDesc.isParameterized() && Collection.class.isAssignableFrom(propertyType)) { Class<?> elementClass = propertyDesc.getElementClassOfCollection(); return getCollectionArgumentType(propertyType, elementClass); } return getArgumentType(propertyType); }  static ArgumentType<T> getArgumentType(PropertyDesc propertyDesc); static void registerArgumentType(Class<?> clazz,
            Class<? extends ArgumentType<?>> argumentTypeClass); static void deregisterArgumentType(Class<?> clazz); @SuppressWarnings("unchecked") static void registerCollectionArgumentType(
            Class<? extends Collection> collectionClass,
            Class<? extends CollectionType> argumentTypeClass); @SuppressWarnings("unchecked") static void deregisterCollectionArgumentType(
            Class<? extends Collection> collectionClass);  }### Answer:
@Test public void testGetArgumentType_String() throws Exception { ArgumentType<String> argumentType = ArgumentTypeRegistry .getArgumentType(beanDesc.getPropertyDesc("string")); assertNotNull(argumentType); }
@Test public void testGetArgumentType_Integer() throws Exception { ArgumentType<String> argumentType = ArgumentTypeRegistry .getArgumentType(beanDesc.getPropertyDesc("integer")); assertNotNull(argumentType); }
@Test public void testGetArgumentType_MyEnum() throws Exception { ArgumentType<String> argumentType = ArgumentTypeRegistry .getArgumentType(beanDesc.getPropertyDesc("myEnum")); assertNotNull(argumentType); }
@Test public void testGetArgumentType_List() throws Exception { ArgumentType<List<File>> argumentType = ArgumentTypeRegistry .getArgumentType(beanDesc.getPropertyDesc("list")); assertNotNull(argumentType); }