### Question:
ProctorJavascriptPayloadBuilder { @SuppressWarnings("deprecation") public final <E extends Test> List<List<Object>> buildAlphabetizedListJavascriptConfig(final E... tests) { return testGroups.getJavaScriptConfig(tests); } ProctorJavascriptPayloadBuilder(final AbstractGroups testGroups, final NameObfuscator testNameObfuscator);  ProctorJavascriptPayloadBuilder(final AbstractGroups testGroups); @SuppressWarnings("deprecation") final List<List<Object>> buildAlphabetizedListJavascriptConfig(final E... tests); final Map<String, List<Object>> buildObfuscatedJavaScriptConfigMap(final E... tests);  }### Answer:
@Test public void testGetJavaScriptConfigLists() { final ProctorJavascriptPayloadBuilder groupsBuilder = new ProctorJavascriptPayloadBuilder(groups); final FakeTest[] stubTests = { new FakeTest("notexist", 77), new FakeTest(CONTROL_SELECTED_TEST.getName(), 98), new FakeTest(GROUP1_SELECTED_TEST.getName(), 99), new FakeTest(NO_BUCKETS_WITH_FALLBACK_TEST.getName(), FALLBACK_TEST_BUCKET.getValue())}; assertThat(groupsBuilder.buildAlphabetizedListJavascriptConfig(stubTests)) .containsExactly( asList(77, null), asList(0, CONTROL_BUCKET_WITH_PAYLOAD.getPayload().getStringValue()), asList(1, GROUP_1_BUCKET_WITH_PAYLOAD.getPayload().getStringValue()), asList(FALLBACK_TEST_BUCKET.getValue(), FALLBACK_TEST_BUCKET.getPayload().getStringValue()) ); }