@Test void testGetApiVersion() { int apiVersion = 2; ApiController apiController = new ApiController("myapi", apiVersion) {}; assertEquals(apiVersion, apiController.getApiVersion()); }
int getApiVersion() { return apiVersion; }
ApiController { int getApiVersion() { return apiVersion; } }
ApiController { int getApiVersion() { return apiVersion; } ApiController(String apiId, Integer apiVersion); }
ApiController { int getApiVersion() { return apiVersion; } ApiController(String apiId, Integer apiVersion);  }
ApiController { int getApiVersion() { return apiVersion; } ApiController(String apiId, Integer apiVersion);   }