@Test
public void oneActionWithNoProblems() throws IOException, URISyntaxException, InterruptedException {

    ActionExecutor webDriverActionExecutionBase = getWebDriverActionExecutionBase();
    Iterator<WebDriverAction> webDriverActionIterator = Mockito.mock(Iterator.class);
    TestScenarioActions testScenarioSteps = mock(TestScenarioActions.class);
    TestScenario testScenario = mock(TestScenario.class);
    when(testScenario.steps()).thenReturn(testScenarioSteps);
    when(testScenarioSteps.iterator()).thenReturn(webDriverActionIterator);
    when(webDriverActionIterator.hasNext()).thenReturn(true, false);
    WebDriverAction firstAction = mock(WebDriverAction.class);
    when(webDriverActionIterator.next()).thenReturn(firstAction);
    ExecutionReport executionReport = webDriverActionExecutionBase.execute(testScenario);
    assertEquals(AutomationResult.SUCCESS, executionReport.getAutomationResult());
}