### Question:
ContentPremisToRdfTransformer extends AbstractPremisToRdfTransformer { @Override public void compute() { List<Element> eventEls = getDocument().getRootElement().getChildren("event", PREMIS_V2_NS); for (Element eventEl: eventEls) { List<String> eventTypes = getEventTypes(eventEl); if (eventTypes.isEmpty()) { log.error("No type present on event for object {}", pid); continue; } if (eventTypes.contains(VIRUS_CHECK_TYPE)) { addVirusCheckEvent(eventEl); } else if (eventTypes.contains(VALIDATION_TYPE)) { transformValidationEvent(eventEl); } else if (eventTypes.contains(INGESTION_TYPE)) { addIngestionEvent(eventEl); } else if (eventTypes.contains(NORMALIZATION_TYPE)) { transformNormalizationEvent(eventEl); } else if (eventTypes.contains(MIGRATION_TYPE)) { transformMigrationEvent(eventEl); } else if (eventTypes.contains(CREATION_TYPE)) { transformCreationEvent(eventEl); } else if (eventTypes.contains(DELETION_TYPE)) { transformDeletionEvent(eventEl); } else if (eventTypes.contains(REPLICATION_TYPE)) { transformReplicationEvent(eventEl); } else if (eventTypes.contains(FIXITY_CHECK_TYPE)) { transformFixityEvent(eventEl); } else { log.error("Unknown event types for {}: {}", pid, eventTypes); } } } ContentPremisToRdfTransformer(PID pid, PremisLogger premisLogger, Document doc);  ContentPremisToRdfTransformer(PID pid, PremisLogger premisLogger, Path docPath); @Override void compute();  }### Answer:
@Test public void noEvents() throws Exception { transformer.compute(); Model model = deserializeLogFile(logFile); List<Resource> eventRescs = listEventResources(objPid, model); assertEquals(0, eventRescs.size()); }