Пример #1
0
 @Test
 public void checkNotError() {
   Frame frame = new Frame(Command.COMMIT);
   assertFalse(frame.indicatesError());
 }
Пример #2
0
 @Test
 public void checkError() {
   Frame frame = new Frame(Command.ERROR);
   assertTrue(frame.indicatesError());
 }