@Test
public void leaveSyncgroup() {

    Id dbId = new Id("idp:a:angrybirds", "leave_syncgroups");
    String dbName = dbId.encode();
    Id sgId = new Id("idp:u:alice", "syncgroup");
    boolean exceptionThrown = false;
    try {
        Database.Create(dbName, anyDbPermissions());
        Database.LeaveSyncgroup(dbName, sgId);
    }  catch (VError vError) {
        assertEquals("v.io/v23/verror.NotImplemented", vError.id);
        exceptionThrown = true;
    }
    assertTrue(exceptionThrown);
}