code: public static <V> void assertThat(Sampler<V> variable, Matcher<? super V> criteria) {
          assertThat(sampleOf(variable, criteria));
      }
docs: Assert that a sample of the variable satisfies the criteria.
  <p>Example:</p>
  <pre>
  {@code
  
  Sampler<Integer> threadCount = ...;
  ...
  assertThat(threadCount, is(9));
  }