@Test
public void getResumeMarker() {

    Id dbId = new Id("idp:a:angrybirds", "core_get_resume_marker");
    try {
        Database db = Service.database(dbId);
        db.create(anyDbPermissions());
        BatchDatabase batchDb = db.beginBatch(null);
        byte[] marker = batchDb.getResumeMarker();
        assertNotNull(marker);
        assertTrue(marker.length > 0);
    } catch (VError vError) {
        vError.printStackTrace();
        fail(vError.toString());
    }
}