  @Test
  public void filename() throws Exception {

    Map<String, String> map = new HashMap<>();
    map.put("filename", FILENAME);
    when(state.getTokens()).thenReturn(map);
    String result = underTest.filename(state);
    assertThat(result, is(equalTo(FILENAME)));
  }