@Test
public void testDoAction_match_invalidDestination() {

    MoveResourceToPathRegex underTest = createObjectUnderTest("/content/(\\w+)/mmm/(\\w+)/(\\w+)", "/content/ooo/$1/$2/i");
    mockWithValues("/content/en/mmm/sub/resource", "/content/ooo/en/sub/i", false);
    try {
        String returnString = underTest.doAction(resource);
        assertTrue(returnString.startsWith("WARN"));
        verify(resourceResolver, times(1)).getResource(eq("/content/ooo/en/sub/i"));
        verify(resourceResolver, never()).move(anyString(), anyString());
    } catch (PersistenceException pe) {
        fail();
    }
}