### Question:
JsonStepsReader implements StepsReader { @Override public TestScenarioSteps readSteps(InputStream inputStream) throws IOException { String stepsRaw = IOUtils.toString(inputStream, StandardCharsets.UTF_8); Gson gson = new GsonBuilder().create(); return gson.fromJson(stepsRaw, TestScenarioSteps.class); }  @Override TestScenarioSteps readSteps(InputStream inputStream);  }### Answer:
@Test public void readsStepsFromInputStream() throws IOException { InputStream testCaseInputStream = getClass().getResourceAsStream("/testCase.json"); JsonStepsReader stepsReader = new JsonStepsReader(); TestScenarioSteps steps = stepsReader.readSteps(testCaseInputStream); Map<String, String> firstStep = steps.get(0); assertEquals(firstStep.get(EVENT), "Load initial page"); }