@Test
public void shouldCreateStatement() {
Token token = new Token("a", 1, 1);
TokenQueue tokenQueue = spy(new TokenQueue(Arrays.asList(token)));
TokenMatcher matcher = spy(new AnyTokenMatcher());
StatementChannel channel = StatementChannel.create(matcher);
List<Statement> output = mock(List.class);
assertThat(channel.consume(tokenQueue, output), is(true));
verify(matcher).matchToken(Matchers.eq(tokenQueue), Matchers.anyList());