@Before
 public void initTestObjects() throws Exception {
   given(brjs)
       .automaticallyFindsBundlerPlugins()
       .and(brjs)
       .automaticallyFindsMinifierPlugins()
       .and(brjs)
       .hasBeenCreated();
   app = brjs.app("app1");
   aspect = app.aspect("default");
   thirdpartyLib = app.jsLib("thirdparty-lib");
   thirdpartyLib2 = app.jsLib("thirdparty-lib2");
   bladerunnerConf = brjs.bladerunnerConf();
   sdkLib = brjs.sdkLib("lib");
 }
  @Test
  public void testLibraryResourceRequestCanNotHaveAQueryString() throws Exception {
    JsLib appLib = app.jsLib("myLib");

    given(appLib)
        .hasBeenCreated()
        .and(appLib)
        .containsFileWithContents("thirdparty-lib.manifest", "js: myFile.js")
        .and(appLib)
        .containsFile("myFile.js");
    when(aspect).requestReceivedInDev("thirdparty/myLib/myFile.js?q=1234", pageResponse);
    then(exceptions).verifyException(MalformedRequestException.class);
  }