### Question:
StdDeviationCreator implements StatisticCreator { public StdDeviationCreator(){ } StdDeviationCreator(); @SuppressWarnings("unchecked") @Override Object run(Object obj); @Override Stats run(HashMap<String, List<Long>> sortedResults);  }### Answer:
@Test public void testStdDeviationCreator() { try { StdDeviationCreator stddev = new StdDeviationCreator(); HashMap<String, List<Long>> results = new HashMap<String, List<Long>>(); List<Long> sorted = new ArrayList<Long>(); sorted.add((long) 1300); sorted.add((long) 2000); sorted.add((long) 2400); sorted.add((long) 2300); sorted.add((long) 3000); results.put("test",sorted); Stats s = stddev.run(results); assertEquals("Failed to get proper Stddev", 554.977, s.getStatistic("stdev", "test"), 0.001); } catch (CucumberException e) { fail("CucumberException"); } }