public String generateQualityGate(Metric.Level level) {
    return qualityGateTemplates.get(level);
  }
@Test
  public void generate_quality_gate() {
    initSvgGenerator();

    String result = underTest.generateQualityGate(ERROR);

    checkQualityGate(result, ERROR);
  }