@Test
    void count() {
        assertEquals(1, instance.count());

        assertThrows(IllegalStateException.class, () -> instance.count());
    }
Test of mapToInt method, of class SingletonStream.
common-parent/singletonstream/src/test/java/com/speedment/common/singletonstream/SingletonStreamTest.java