LoaderBuilder implements Serializable { public LoaderBuilder manual() { automatic = false; return this; }  LoaderBuilder baseUrl(String baseUrl); LoaderBuilder version(String version); LoaderBuilder bare(); LoaderBuilder manual(); LoaderBuilder popout(boolean popout); LoaderBuilder https(); LoaderBuilder user(UserId user); LoaderBuilder button(ButtonType type); LoaderBuilder language(LanguageId language); LoaderBuilder category(CategoryId category); LoaderBuilder prefix(String prefix); @Override String toString();  }
@Test public void testManualBuilder() { LoaderBuilder builder = new LoaderBuilder(); builder.manual(); assertThat(builder, hasToString( "<script type=\"text/javascript\">\n" + "(function() {var s = document.createElement('script')," + "t = document.getElementsByTagName('script')[0];" + "s.type = 'text/javascript';" + "s.async = true;" + "s.src = 'http: + "t.parentNode.insertBefore(s, t);})();\n" + "</script>")); }