@Test
public void notContentPackage() throws Exception {

    final MultipartFile multipartFile = getThisUnitTestMultipartFile("uk/ac/ed/ph/qtiworks/services/NotContentPackage.zip", "application/zip");
    try {
        assessmentPackageFileImporter.importAssessmentPackageData(importSandboxDirectory, multipartFile);
        Assert.fail("Should have failed");
    }
    catch (final AssessmentPackageDataImportException e) {
        Assert.assertEquals(ImportFailureReason.NOT_CONTENT_PACKAGE, e.getFailure().getReason());
    }
}