@Test
public void testIsRelevant() throws Exception {

    TestAction action = new TestAction("testName", null, "testHash");
    Mockito.when(info.getStatus()).thenReturn(status);
    Mockito.when(status.isExecuted(ctx, info, action)).thenReturn(false);
    Assert.assertTrue(action.isRelevant(ctx, info));
    Mockito.when(status.isExecuted(ctx, info, action)).thenReturn(true);
    Assert.assertFalse(action.isRelevant(ctx, info));
}