    @Test(expected = IdeaLabApiException.class)
    public void deleteModelPrintJobNotFound() {

        PrintJob printJob = new PrintJob();
        printJob.setId(999);

        when(printJobRepo.findPrintJobById(printJob.getId())).thenReturn(null);

        operations.deleteModel(printJob.getId());
    }