示例#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);
 }