}
@Test
public void testCommandPatternJavaWithDebug() throws Exception {
String pageText = "!define TEST_SYSTEM {slim}\n";
WikiPage page = makeTestPage(pageText);
WikiPageDescriptor descriptor = new WikiPageDescriptor(page, false, true, "");
MockClientBuilder clientBuilder = new MockClientBuilder(descriptor);
String prefix = join(clientBuilder.getCommandPattern());
assertTrue(prefix.contains("java"));
assertTrue(prefix.contains(" -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -cp %p %m"));