@Test
public void ejectFromSyncgroup() {

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