source: class MoveResourceToPathRegexTest {
  
      @Mock
      private ResourceResolver resourceResolver;
      @Mock
      private Resource resource;
      @Mock
      private ValueMap valueMap;
  
      @Test
      public void testDoAction_noMatch() {
  
target:         MoveResourceToPathRegex underTest = createObjectUnderTest("/content/bla/(\\w+)/(\\w+)", "/content/abc/$1");
          mockWithValues("/content/somewhere/else", "/doesnt/matter", true);
  
          try {
              String returnString = underTest.doAction(resource);
              assertTrue(returnString.startsWith("INFO"));
  
              verify(resourceResolver, never()).getResource(anyString());
              verify(resourceResolver, never()).move(anyString(), anyString());
  
          } catch (PersistenceException pe) {
              fail();
          }
      }
  
  }