    @Test
    public void thatInnerWhitespaceIsRemoved2()
    {

      cas.setDocumentText(" a b ");

      AnnotationFS ann = cas.createAnnotation(cas.getAnnotationType(), 2, 5);
      ann.trim();

      assertThat(ann)
          .extracting(AnnotationFS::getBegin, AnnotationFS::getEnd, AnnotationFS::getCoveredText)
          .containsExactly(3, 4, "b");
    }