@Test
public void shouldHaveStringRepresentationWithStatisticsForMultipleSample() {

    this.intStats.add(19);
    this.intStats.add(10);
    this.intStats.add(20);
    String str = this.intStats.toString();
    System.out.println(str);
    assertTrue(str.matches("^\\d{1,5}.*"));
    assertTrue(str.matches(".*3 samples.*"));
    assertTrue(str.matches(".*min=\\d{1,5}.*"));
    assertTrue(str.matches(".*max=\\d{1,5}.*"));
    assertTrue(str.matches(".*avg=\\d{1,5}.*"));
    assertTrue(str.matches(".*stddev=\\d{1,5}.*"));
    assertTrue(str.matches(".*median=\\d{1,5}.*"));
}