@Test
public void test() {
BoundOrAssignedEvalOrArgumentsCheck check = new BoundOrAssignedEvalOrArgumentsCheck();
SourceFile file = JavaScriptAstScanner.scanSingleFile(new File("src/test/resources/checks/boundOrAssignedEvalOrArguments.js"), check);
CheckMessagesVerifier.verify(file.getCheckMessages())
.next().atLine(1).withMessage("Remove the modification of \"eval\".")
.next().atLine(2).withMessage("Remove the modification of \"arguments\".")
.next().atLine(3).withMessage("Remove the modification of \"eval\".")
.next().atLine(4).withMessage("Do not use \"arguments\" to declare a parameter - use another name.")
.next().atLine(6).withMessage("Do not use \"eval\" to declare a variable - use another name.")