@Test
public void testMaxSqliteParams() {

    insertApp("com.example.app1", "App 1");
    insertApp("com.example.app100", "App 100");
    insertApp("com.example.app1000", "App 1000");
    for (int i = 0; i < 50; i++) {
        InstalledAppTestUtils.install(context, "com.example.app" + i, 1, "v1");
    }
    assertResultCount(contentResolver, 1, AppProvider.getInstalledUri(), PROJ);
    for (int i = 50; i < 500; i++) {
        InstalledAppTestUtils.install(context, "com.example.app" + i, 1, "v1");
    }
    assertResultCount(contentResolver, 2, AppProvider.getInstalledUri(), PROJ);
    for (int i = 500; i < 1100; i++) {
        InstalledAppTestUtils.install(context, "com.example.app" + i, 1, "v1");
    }
    assertResultCount(contentResolver, 3, AppProvider.getInstalledUri(), PROJ);
}