DummyReader implements ProfileVersionReader { public String getCollectionName() { final Element collection = this.getCollectionElement(); return this.getAttributeValue(collection, "name"); }  void setStream(final InputStream is); String getCollectionName(); String getObjectsCount(); String getCollectionSize(); String getObjectsMaxSize(); String getObjectsMinSize(); String getObjectsAvgSize(); Map<String, String> getDistribution(final String name);  }
@Test public void shouldObtainCollectionName() throws Exception { final String name = this.reader.getCollectionName(); Assert.assertEquals("coll-0-test", name); }