@Test
public void testFixturesMatchGeneratedInstructions() throws IOException {

  for (String fixture : TextInstructionsFixtures.FIXTURES) {
    String body = loadJsonFixture(fixture);
    FixtureModel model = new Gson().fromJson(body, FixtureModel.class);
    for (Object entry : model.getInstructions().entrySet()) {
      Map.Entry pair = (Map.Entry) entry;
      String language = (String) pair.getKey();
      String compiled = (String) pair.getValue();
      assertEquals(compiled, new TextInstructions(language, "v5").compile(model.getStep()));
    }
  }
}