Пример #1
0
 @Test(expected = IllegalArgumentException.class)
 public void detachLoggerTest2() {
   observer.detachLogger(null);
 }
Пример #2
0
 @Test
 public void detachLoggerTest1() {
   Logger logger = new Logger(3, new ImmutableClock(0, 0));
   observer.attachLogger(logger);
   observer.detachLogger(logger);
 }