@Test
public void doAction() throws PersistenceException, ValueFormatException, VersionException, LockException,
        ConstraintViolationException, RepositoryException {

    // setup test resource
    when(valueMap.containsKey(ATTR)).thenReturn(true);
    when(valueMap.get(ATTR)).thenReturn(new String[] {VAL1});
    JoinProperty action = new JoinProperty(ATTR, EMPTY_VALUE);
    action.doAction(resource);
    verify(property, times(1)).remove();
    verify(node, times(1)).setProperty(ATTR, VAL1);
}