### Question:
DefaultShellConfiguration implements ShellConfiguration { @Override public String buildPrompt(final Terminal terminal) { return this.getDefaultPromptStyle().toAnsi(terminal); }  @Override LineReader buildLineReader(final Terminal terminal, final Collection<String> registeredCommands); @Override Terminal buildTerminal(); @Override String buildPrompt(final Terminal terminal); static final String PROMPT_STRING; }### Answer:
@Test public void buildPrompt() { final Terminal terminal = Mockito.mock(Terminal.class); Mockito.when(terminal.getType()).thenReturn(Terminal.TYPE_DUMB); final String string = new DefaultShellConfiguration().buildPrompt(terminal); assertTrue(string.length() >= 10); }