+ @Test
+ fun `successful parsing adds histogram entry`() {
+ val inputStream = javaClass.getResourceAsStream("sone-parser-without-images.xml")
+ assertThat(soneParser.parseSone(sone, inputStream), notNullValue())
+ val histogram = metricRegistry.histogram("sone.parsing.duration")
+ assertThat(histogram.count, equalTo(1L))
+ }
+