@Test
public void testLoadPartner() {

    mPackageManager.addResolveInfoForIntent(
            new Intent(ACTION_PARTNER_CUSTOMIZATION),
            Arrays.asList(
                    createResolveInfo("foo.bar", false, true),
                    createResolveInfo("test.partner.package", true, true))
    );
    Partner partner = Partner.get(mContext);
    assertNotNull("Partner should not be null", partner);
}