### Question:
StepAndWebDriverActionConfigurationSupplier { public StepAndWebDriverActionConfiguration get(Map<String, String> testCaseStep, int index, WebDriverActionConfiguration webDriverActionConfiguration) { return new StepAndWebDriverActionConfiguration(testCaseStep, index, webDriverActionConfiguration); }  StepAndWebDriverActionConfiguration get(Map<String, String> testCaseStep, int index, WebDriverActionConfiguration webDriverActionConfiguration);  }### Answer:
@Test public void createsTheCorrectInstance() throws Exception { Map<String, String> testCaseStep = new HashMap<>(); WebDriverActionConfiguration webDriverActionConfiguration = mock(WebDriverActionConfiguration.class); StepAndWebDriverActionConfiguration expected = mock(StepAndWebDriverActionConfiguration.class); int index = 0; PowerMockito.whenNew(StepAndWebDriverActionConfiguration.class) .withArguments(testCaseStep, index, webDriverActionConfiguration) .thenReturn(expected); StepAndWebDriverActionConfigurationSupplier stepAndWebDriverActionConfigurationSupplier = new StepAndWebDriverActionConfigurationSupplier(); StepAndWebDriverActionConfiguration actual = stepAndWebDriverActionConfigurationSupplier.get(testCaseStep, index, webDriverActionConfiguration); assertEquals(expected, actual); }