@Test public void testSetActionKey() { injecter.setActionKey("action.key"); }
@Test(expected = IllegalArgumentException.class) public void testSetActionKey_emptyArg() { injecter.setActionKey(""); }
private void initializeInjecter() { injecter.setClassResource(sampleRes); injecter.setAction(action); injecter.setActionKey("doAction1"); }
@Test(expected = NullPointerException.class) public void testSetActionKey_nullArg() { injecter.setActionKey(null); }