  @Test
  public void generateParser_cliInvocation_interface() throws Exception {

    mojo.symbolInterface = true;
    ClassLoader classLoader = getClass().getClassLoader();
    File file = new File(classLoader.getResource("test.cup").getFile());

    mojo.generateParser(file);
    File expectedDestDir = new File(tempTargetGeneratedCupDirectory, "/foo/bar");
    verify(mockCupInvoker)
        .invoke(
            eq("foo.bar"),
            eq(expectedDestDir),
            eq("parser"),
            eq("sym"),
            eq(true),
            endsWith("test.cup"));
    verify(mockLogger)
        .debug("Parser file for test.cup is not actual: " + expectedDestDir + "/parser.java");
  }