@Test
void testIfStatementWithOperatorAndStringToken() {

  StringBuilder stringBuilder = new StringBuilder();
  stringBuilder
      .append("{% if item equals \"string1\" %}");
  Loader<String> loader = new StringLoader();
  Reader templateReader = loader.getReader(stringBuilder.toString());
  TokenStream tokenStream = this.lexer.tokenize(templateReader, this.TEMPLATE_NAME);
  int i = 0;
  assertThat(tokenStream.peek(i).getType()).isEqualTo(Type.EXECUTE_START);
  assertThat(tokenStream.peek(i++).getValue()).isNull();
  assertThat(tokenStream.peek(i).getType()).isEqualTo(Type.NAME);
  assertThat(tokenStream.peek(i++).getValue()).isEqualTo("if");
  assertThat(tokenStream.peek(i).getType()).isEqualTo(Type.NAME);
  assertThat(tokenStream.peek(i++).getValue()).isEqualTo("item");
  assertThat(tokenStream.peek(i).getType()).isEqualTo(Type.OPERATOR);
  assertThat(tokenStream.peek(i++).getValue()).isEqualTo("equals");
  assertThat(tokenStream.peek(i).getType()).isEqualTo(Type.STRING);
  assertThat(tokenStream.peek(i++).getValue()).isEqualTo("string1");
  assertThat(tokenStream.peek(i).getType()).isEqualTo(Type.EXECUTE_END);
  assertThat(tokenStream.peek(i++).getValue()).isEqualTo("%}");
}