public void test_withMultipleContexts() {
   String input = "a simple +string +test";
   List<String> strings = ProjectParser.getInstance().parse(input);
   assertEquals(2, strings.size());
   assertTrue(strings.contains("string"));
   assertTrue(strings.contains("test"));
 }
 public void test_withInterspersedContexts() {
   String input = "+more complex +case with a +string +test";
   List<String> strings = ProjectParser.getInstance().parse(input);
   assertEquals(4, strings.size());
   assertTrue(strings.contains("more"));
   assertTrue(strings.contains("case"));
   assertTrue(strings.contains("string"));
   assertTrue(strings.contains("test"));
 }
 public void test_withoutSpace() {
   String input = "Check out this web site http://example.com/this+is+an+example";
   List<String> strings = ProjectParser.getInstance().parse(input);
   assertEquals(0, strings.size());
 }
 public void test_withoutContext() {
   String input = "a simple string";
   List<String> strings = ProjectParser.getInstance().parse(input);
   assertEquals(Collections.<String>emptyList(), strings);
 }
 public void test_null() {
   String input = null;
   List<String> strings = ProjectParser.getInstance().parse(input);
   assertEquals(Collections.<String>emptyList(), strings);
 }