DummyReader implements ProfileVersionReader { public String getObjectsAvgSize() { final Element size = this.getSizePropertyElement(); return this.getAttributeValue(size, "avg"); }  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 shouldObtainObjectsAvgSize() throws Exception { final String size = this.reader.getObjectsAvgSize(); Assert.assertEquals("35000.42", size); }