@Test
  public void testGetNumberOfAds() throws Exception {
    assertEquals(0, mFlurryBaseAdAdapter.getNumberOfAds(WRAPPED_ADAPTER_SIZE));

    doReturn(MOCK_AD_COUNT).when(mMockNativeAdFetcher).getQueuedAdsCount();

    assertEquals(MOCK_AD_COUNT, mFlurryBaseAdAdapter.getNumberOfAds(WRAPPED_ADAPTER_SIZE));
  }
  @Test
  public void testSetPositioner() throws Exception {
    mFlurryBaseAdAdapter.setPositioner(new LinearIntervalAdPositioner(3, 20), WRAPPED_ADAPTER_SIZE);

    doReturn(MOCK_AD_COUNT).when(mMockNativeAdFetcher).getQueuedAdsCount();

    assertEquals(1, mFlurryBaseAdAdapter.getNumberOfAds(WRAPPED_ADAPTER_SIZE));

    mFlurryBaseAdAdapter.setPositioner(new LinearIntervalAdPositioner(3, 3), WRAPPED_ADAPTER_SIZE);

    assertEquals(MOCK_AD_COUNT, mFlurryBaseAdAdapter.getNumberOfAds(WRAPPED_ADAPTER_SIZE));
  }