use of org.n52.iceland.statistics.impl.handlers.DefaultServiceEventHandler in project arctic-sea by 52North.
the class EventHandlerFinderTest method findNoHandlers.
@Test(expected = NullPointerException.class)
public void findNoHandlers() {
Map<String, StatisticsServiceEventHandler<?>> handlers = new HashMap<>();
DefaultServiceEventHandler handler = new DefaultServiceEventHandler();
handlers.put("morpheus", handler);
GetCapabilitiesRequest request = new GetCapabilitiesRequest("SOS");
EventHandlerFinder.findHandler(request, handlers);
}
Aggregations