    @Test (expected=NullPointerException.class)
        public void scheduleQueuedTasksOwnerNull() throws Exception {

        TaskQueue queue = txnScheduler.createTaskQueue();
        queue.addTask(new DependentTask(null), null);
    }