  @Test
  public void nameWithDotParseTest() throws Exception {

    when(state.getTokens()).thenReturn(tokens);
    when(tokens.get("filename")).thenReturn("lua5.3-libs-5.3.5-r2");

    assertThat(underTest.name(state), is(equalTo("lua5.3-libs")));
  }