Exemplo n.º 1
0
 @Test
 public void testSetActionKey() {
   injecter.setActionKey("action.key");
 }
Exemplo n.º 2
0
 @Test(expected = IllegalArgumentException.class)
 public void testSetActionKey_emptyArg() {
   injecter.setActionKey("");
 }
Exemplo n.º 3
0
 private void initializeInjecter() {
   injecter.setClassResource(sampleRes);
   injecter.setAction(action);
   injecter.setActionKey("doAction1");
 }
Exemplo n.º 4
0
 @Test(expected = NullPointerException.class)
 public void testSetActionKey_nullArg() {
   injecter.setActionKey(null);
 }