@Test
public void doAction_existingAttribute() throws PersistenceException {

    when(valueMap.get(ATTR, String[].class)).thenReturn(new String[] {VAL3, VAL2});
    RemoveMultiValues action = new RemoveMultiValues(ATTR, new String[] {VAL1, VAL2});
    action.doAction(resource);
    verify(valueMap, times(1)).put(ATTR, new String[] {VAL3});
}