@Test void testMultiAttributes() { context.request().setAttribute("categories", CATEGORIES_MULTIPLE); context.request().setAttribute("async", true); context.request().setAttribute("nomodule", true); context.request().setAttribute("type", "text/javascript"); JSInclude underTest = AdaptTo.notNull(context.request(), JSInclude.class); assertEquals("<script src=\"/etc/clientlibs/app1/clientlib3.min.js\" " + "async nomodule type=\"text/javascript\"></script>\n" + "<script src=\"/etc.clientlibs/app1/clientlibs/clientlib4_proxy.min.js\" " + "async nomodule type=\"text/javascript\"></script>\n" + "<script src=\"/etc.clientlibs/app1/clientlibs/clientlib5_proxy.min.js\" " + "async nomodule type=\"text/javascript\"></script>\n", underTest.getInclude()); }
public @Nullable String getInclude() { return include; }
JSInclude { public @Nullable String getInclude() { return include; } }
JSInclude { public @Nullable String getInclude() { return include; }  }
JSInclude { public @Nullable String getInclude() { return include; }  @Nullable String getInclude(); }
JSInclude { public @Nullable String getInclude() { return include; }  @Nullable String getInclude();  }