private void postJobPhase(PhasesSumUpTimeProfiler profiler) throws InterruptedException { PostJob postJob = new FakePostJob(); // Start of sensor phase profiler.onPostJobsPhase(postJobsEvent(true)); // Start of a Sensor profiler.onPostJobExecution(postJobEvent(postJob, true)); clock.sleep(30); // End of a Sensor profiler.onPostJobExecution(postJobEvent(postJob, false)); // End of sensor phase profiler.onPostJobsPhase(postJobsEvent(false)); }