Token t3 = new Token("(", 3, 1);
Token t4 = new Token("b", 4, 1);
Token t5 = new Token(")", 5, 1);
Token t6 = new Token("c", 6, 1);
Token t7 = new Token(")", 7, 1);
TokenQueue tokenQueue = spy(new TokenQueue(Arrays.asList(t1, t2, t3, t4, t5, t6, t7)));
List<Token> output = mock(List.class);
BridgeTokenMatcher matcher = new BridgeTokenMatcher("(", ")");
assertThat(matcher.matchToken(tokenQueue, output), is(true));
verify(tokenQueue, times(1)).isNextTokenValue("(");