### Question:
Adapter { @VisibleForTesting static Collection<Model.Log> toJaegerLogs(List<Event> timeEvents) { List<Model.Log> logs = new ArrayList<>(timeEvents.size()); for (Event e : timeEvents) { logs.add(toJaegerLog(e)); } return logs; } private  Adapter();   }### Answer:
@Test void testJaegerLogs() { Event eventsData = getTimedEvent(); Collection<Model.Log> logs = Adapter.toJaegerLogs(Collections.singletonList(eventsData)); assertEquals(1, logs.size()); }