ClusterDefinitionProvider { public String getVersionId() { return versionId; } protected  ClusterDefinitionProvider(); void init(Configuration configuration); static ClusterDefinitionProvider instance(); String getFileName(); String getClusterName(); String getVersionId(); InputStream getInputStream();  }
@Test public void testGetVersionId() throws Exception { ClusterDefinitionProvider provider = getProvider("myFile", "myCluster", "myVersion"); Assert.assertEquals("myVersion", provider.getVersionId()); }