public void testGitIgnoreListTemplates() throws Exception
{
CommandController gitIgnoreListTemplatesTester = testHarness.createCommandController(
GitIgnoreListTemplatesCommand.class, project.getRootDirectory());
gitIgnoreListTemplatesTester.initialize();
Result result = gitIgnoreListTemplatesTester.execute();
String listOutput = result.getMessage().substring(result.getMessage().indexOf("==="));
assertFalse(listOutput.contains(".gitignore"));
assertTrue(listOutput.contains("= Languages ="));
assertTrue(listOutput.contains("= Globals ="));
assertTrue(listOutput.contains("Java"));
assertTrue(listOutput.contains("Eclipse"));