@Test
public void test() {
UnusedFunctionArgumentCheck check = new UnusedFunctionArgumentCheck();
SourceFile file = JavaScriptAstScanner.scanSingleFile(new File("src/test/resources/checks/unusedFunctionArgument.js"), check);
CheckMessagesVerifier.verify(file.getCheckMessages())
.next().atLine(1).withMessage("Remove the unused function parameter \"b\".")
.next().atLine(5).withMessage("Remove the unused function parameters \"b, c\".")
.next().atLine(9).withMessage("Remove the unused function parameter \"p1\".")
.next().atLine(12).withMessage("Remove the unused function parameter \"c\".")
.next().atLine(16)