Build { public static boolean isLessThanMarshmallow() { return SDK_INT < M; } @VisibleForTesting  Build(); static boolean isAtLeastLollipop(); static boolean isAtLeastMarshmallow(); static boolean isLessThanLollipop(); static boolean isLessThanMarshmallow();  }
@Test @Config(sdk = LOLLIPOP_MR1) public void shouldBe_lessThanMarshmallow() { assertThat(isLessThanMarshmallow()).isTrue(); }