@Test
public void should_return_sample_size_when_give_req_which_ratio_is_more_than_2() throws Exception {

    BitmapFactory.Options options = createBitmapFactoryOptions(8, 12);
    int actual = calculateInSampleSize(options, 2, 3);
    assertThat("Should return 4 when ratio is 4.", actual, is(4));
}