### Question:
AnnotatedJavaType { public static List<AnnotatedJavaType> convertFromJavaTypes( final Iterable<? extends JavaType> javaTypes) { final List<AnnotatedJavaType> result = new ArrayList<AnnotatedJavaType>(); if (javaTypes != null) { for (final JavaType javaType : javaTypes) { result.add(convertFromJavaType(javaType)); } } return result; } AnnotatedJavaType(final JavaType javaType, final AnnotationMetadata... annotations);  AnnotatedJavaType(final JavaType javaType, final Collection<AnnotationMetadata> annotations); static JavaType convertFromAnnotatedJavaType(final AnnotatedJavaType annotatedJavaType); static List<JavaType> convertFromAnnotatedJavaTypes(
      final List<AnnotatedJavaType> annotatedJavaTypes); static AnnotatedJavaType convertFromJavaType(final JavaType javaType); static List<AnnotatedJavaType> convertFromJavaTypes(
      final Iterable<? extends JavaType> javaTypes); static List<AnnotatedJavaType> convertFromJavaTypes(final JavaType... javaTypes); List<AnnotationMetadata> getAnnotations(); JavaType getJavaType(); boolean isVarArgs(); void setVarArgs(final boolean varArgs); @Override final String toString();  }### Answer:
@Test public void testConvertEmptyArrayOfJavaTypes() { final List<AnnotatedJavaType> annotatedTypes = AnnotatedJavaType.convertFromJavaTypes(); assertEquals(0, annotatedTypes.size()); }
@Test public void testConvertNullListOfJavaTypes() { final List<AnnotatedJavaType> annotatedTypes = AnnotatedJavaType.convertFromJavaTypes((List<JavaType>) null); assertEquals(0, annotatedTypes.size()); }