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