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