@Test
void count() {

    when(bean.getCollectionCount()).thenReturn(1L, 2L, 3L);
    assertThat(stat.count()).isEqualTo(0);
    assertThat(stat.count()).isEqualTo(1);
    assertThat(stat.count()).isEqualTo(1);
}