@Test
public void doAction() throws PersistenceException {

    when(valueMap.remove(ATTR)).thenReturn("val");
    DeleteProperty action = new DeleteProperty(ATTR);
    action.doAction(resource);
    verify(valueMap, times(1)).remove(ATTR);
}