    @Test
    public void testCompose() {

        // test
        boolean result = composeMatcher.matches(input);

        // verify
        verify(function).apply(input);
        verify(matcher).matches(output);
        assertThat(result, is(true));
    }