@Test
public void generateAdUrl_shouldIncludeMinFields() throws Exception {

    String expectedAdUrl = "http://ads.mopub.com/m/ad" +
            "?v=6" +
            "&nv=" + MoPub.SDK_VERSION +
            "&dn=" + Build.MANUFACTURER +
            "%2C" + Build.MODEL +
            "%2C" + Build.PRODUCT +
            "&udid=sha%3A" +
            "&z=-0700" +
            "&o=u" +
            "&sc_a=1.0" +
            "&mr=1" +
            "&ct=3" +
            "&av=1.0" +
            "&android_perms_ext_storage=0";
    String adUrl = subject.generateAdUrl();
    assertThat(adUrl).isEqualTo(expectedAdUrl);
}