@Test
public void getResumeMarker() {

    Id dbId = new Id("idp:a:angrybirds", "get_resume_marker");
    String dbName = dbId.encode();
    try {
        Database.Create(dbName, anyDbPermissions());
        String batchHandle = Database.BeginBatch(dbName, null);
        byte[] marker = Database.GetResumeMarker(dbName, batchHandle);
        assertNotNull(marker);
        assertTrue(marker.length > 0);
    } catch (VError vError) {
        vError.printStackTrace();
        fail(vError.toString());
    }
}