@Test public void toArray_iterable() {

  Matcher<Void> one = b -> true;
  Matcher<Void> two = b -> false;
  Matcher<Void> three = b -> true;
  assertThat(Matchers.toArray(() -> asList(one, two, three).iterator()))
    .containsExactly(one, two, three);
}