Example #1
0
  @Test
  public void shouldReturnCommandTemplate() throws Exception {
    gwtCommandType.getCommandLineTemplate();

    verify(currentProjectPathMacro).getName();
    verify(devMachineHostNameMacro).getName();
  }
Example #2
0
  @Test
  public void shouldReturnPages() throws Exception {
    final Collection<CommandPage> pages = gwtCommandType.getPages();

    assertTrue(pages.contains(gwtCommandPagePresenter));
  }