### Question:
OpenApi20SpecificationGenerator implements SpecificationGenerator { @Override public Specification getSpecification() { return Specification.OPENAPI_V2; } OpenApi20SpecificationGenerator();  OpenApi20SpecificationGenerator(OpenApi20Generator generator); @Override Specification getSpecification(); @Override String generate(ApiDetails details, List<ResourceModel> models);  }### Answer:
@Test public void testGetSpecification() { assertThat(generator.getSpecification()).isEqualTo(Specification.OPENAPI_V2); }