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