code: public static DecomposableMatchBuilder0<Boolean> caseBoolean(boolean b) {
      List<Matcher<Object>> matchers = new ArrayList<>();
      matchers.add(eq(b));
  
      return new DecomposableMatchBuilder0<>(
          matchers, new PrimitiveFieldExtractor<>(Boolean.class));
    }
docs: Matches a boolean.