@Test
public void testRawConstructorWithFilename() throws Exception {

    assertEquals("check filename should be", "noslash.js",
            new ScriptProgressCheck(mock(Invocable.class),
                    mock(ScriptProgressCheck.ScriptHelper.class),
                    new URL("file:noslash.js")).getCheckName());
}