### Question:
DeleteComplexMeasurement { public void delete(UUID uuid, ApplicationUser user) { InternalErrorException.check(canDelete(uuid, user)); complexMeasurementService.delete(uuid); }  void delete(UUID uuid, ApplicationUser user); ActionPossibility canDelete(UUID uuid, ApplicationUser user); ActionPossibility measurementExists(UUID uuid);  }### Answer:
@Test public void testDelete() { uut.delete(complexMeasurement.getId(), complexMeasurement.getCreatedBy()); ActionPossibility ap = uut.measurementExists(complexMeasurement.getId()); assertFalse(ap.getReason(), ap.isPossible()); }