### Question:
AspectAnnotationReader { public static <UI_ANNOTATION extends Annotation> List<LinkkiAspectDefinition> createAspectDefinitionsFrom( UI_ANNOTATION uiAnnotation) { return createAspectDefinitionsStreamFrom(uiAnnotation) .collect(Collectors.toList()); } private  AspectAnnotationReader(); static List<LinkkiAspectDefinition> createAspectDefinitionsFrom(
            UI_ANNOTATION uiAnnotation); static List<LinkkiAspectDefinition> createAspectDefinitionsFor(AnnotatedElement annotatedElement); static List<LinkkiAspectDefinition> createAspectDefinitionsFor(Annotation componentDefAnnotation,
            AnnotatedElement annotatedElement);  }### Answer:
@Test public void testCreateAspectDefinitionsFrom() throws NoSuchMethodException, SecurityException { TestAnnotation annotationToTest = TestClass.class.getMethod("something").getAnnotation(TestAnnotation.class); List<LinkkiAspectDefinition> definitions = AspectAnnotationReader .createAspectDefinitionsFrom(annotationToTest); assertThat(definitions.size(), is(2)); LinkkiAspectDefinition definition = definitions.get(0); assertThat(definition, is(instanceOf(TestAspectDefinition.class))); assertThat(definition, isInitializedWith(TestAnnotation.class)); LinkkiAspectDefinition anotherDefinition = definitions.get(1); assertThat(anotherDefinition, is(instanceOf(AnotherTestAspectDefinition.class))); assertThat(anotherDefinition, isInitializedWith(TestAnnotation.class)); }