@Test
public void listSyncgroups() {

    Id dbId = new Id("idp:a:angrybirds", "core_list_syncgroups");
    try {
        Database db = Service.database(dbId);
        db.create(anyDbPermissions());
        List<Id> syncgroups = db.listSyncgroups();
        assertNotNull(syncgroups);
        assertEquals(0, syncgroups.size());
    } catch (VError vError) {
        vError.printStackTrace();
        fail(vError.toString());
    }
}