@Test
public void dynamicFragmentToTheLeft() {

  List<TextFragment> fragments = TemplateParser.parseTemplateString("{{hello}}-world");
  assertThat(
      fragments, contains(TextFragment.dynamicFragment("hello"), staticFragment("-world")));
}