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