Exemplo n.º 1
0
 private void assertDataAvailable() {
   List<Class<? extends Annotation>> log = client.getEventLog().getDataUnavailableLog();
   if (!log.isEmpty()) {
     Assert.fail(
         "One or more lifecycle methods could not access the managed data: " + log.toString());
   }
 }
Exemplo n.º 2
0
 private void assertOrder(Class<? extends Annotation>... expectedOrder) {
   Assert.assertEquals(Arrays.asList(expectedOrder), client.getEventLog().getEventLog());
 }