### Question:
Annotations { @SuppressWarnings("unchecked") public <T extends Annotation> T get(Class<T> type) { if (type == null) { throw new IllegalArgumentException("Method argument type must not be null."); } return (T) getAnnotationMap().get(type); } private  Annotations(AnnotatedElement annotatedElement); @SuppressWarnings("unchecked") T get(Class<T> type);  }### Answer:
@Test(expected = IllegalArgumentException.class) public void testHandlingOfNullElementArgumentForLookup() { this.testee.get(null); }