### Question:
Sample { public String notNull(@NotNull final String value) { return value; }  String notNull(@NotNull final String value);  }### Answer:
@Test(expected = javax.validation.ConstraintViolationException.class) public void aspectjAnnotationsWork() throws Exception { new Sample().notNull(null); }