    @Test
    public void usesPackagedJQueryUiCoreInsteadOfSeparateComponents() {

        JavaScriptResourceReference fullCore = new JavaScriptResourceReference(getClass(), "full-core");

        JavaScriptSettings settings = JavaScriptSettings.newBuilder().withJqueryUi(JQueryUiVersions.v1_9_2)
            .withAllUiCore(fullCore).endJqueryUi().build();

        assertThat(settings.jqueryUi.uiCoreCore, is(fullCore));
        assertThat(settings.jqueryUi.uiCorePosition, is(fullCore));
        assertThat(settings.jqueryUi.uiCoreMouse, is(fullCore));
        assertThat(settings.jqueryUi.uiCoreWidget, is(fullCore));
    }