示例#1
0
 @Test
 public void toString_test() {
   assertEquals("skip", action.toString());
 }
示例#2
0
 @Test
 public void canExecute_test() {
   assertTrue(action.canExecute(unit, act));
 }
示例#3
0
 @Test
 public void execute_test() {
   action.execute(unit, act);
   verifyNoMoreInteractions(unit);
 }
示例#4
0
 @Test
 public void isValid_test() {
   assertFalse(action.isValid(act));
   params.remove(0);
   assertTrue(action.isValid(act));
 }