public static <T extends Comparable<T>> Matcher<T> betweenInclusive(final T from, final T to) {
        return IsBetweenInclusive.betweenInclusive(from, to);
    }
public static < T extends Comparable < T > > Matcher < T > betweenInclusive ( final T from , final T to ) { return IsBetweenInclusive . betweenInclusive ( from , to ) ; }
Creates a matcher for {@code T}s that matches when the <code>compareTo()</code> method returns a value between
<code>from</code> and <code>to</code>, both included.
<p>
<p>For example:
<p>
<pre>assertThat(10, betweenInclusive(10, 11))</pre>

will return <code>true</code>.