code: @Factory
      public static <E extends CharSequence> Matcher<E> hasSize(Matcher<? super Integer> sizeMatcher) {
          return new IsCharSequenceWithSize<E>(sizeMatcher);
      }
docs: Creates a matcher for {@link java.lang.CharSequence} that matches when the <code>length()</code> method returns
  a value that satisfies the specified matcher.
  
  For example:
  <pre>assertThat("foo", hasSize(equalTo(3)))</pre>
  
  @param sizeMatcher a matcher for the size of an examined {@link java.lang.CharSequence}
  @param <E> the cher sequence type
  @return the matcher