### Question:
Polling extends Transport implements AsyncListener { @Override public String getName() { return NAME; } Polling(Object lockObject); @Override void onRequest(HttpServletRequest request, HttpServletResponse response); @Override void send(List<Packet<?>> packets); @Override boolean isWritable(); @Override String getName(); @Override void onStartAsync(AsyncEvent asyncEvent); @Override void onComplete(AsyncEvent asyncEvent); @Override void onTimeout(AsyncEvent asyncEvent); @Override void onError(AsyncEvent asyncEvent); static final String NAME; }### Answer:
@Test public void testName() { final Polling polling = new Polling(new Object()); assertEquals(Polling.NAME, polling.getName()); }