### Question:
ZipkinEmitter implements InitializingBean { public void emitServerSend(@Nonnull ZipkinData zipkinData) { emitAnnotation(zipkinData, SERVER_SEND); } ZipkinEmitter(@Nonnull String serviceName, @Nonnull ZipkinSpanCollector zipkinSpanCollector,
                         @Nonnull Clock clock);  ZipkinEmitter(@Nonnull String serviceName, @Nonnull ZipkinSpanCollector zipkinSpanCollector,
                         @Nonnull Clock clock, int serviceIPv4); void emitServerReceive(@Nonnull ZipkinData zipkinData); void emitServerSend(@Nonnull ZipkinData zipkinData); void emitClientSend(@Nonnull ZipkinData zipkinData); void emitClientReceive(@Nonnull ZipkinData zipkinData); @Nonnull ZipkinAnnotationsStore buildAnnotationsStore(@Nonnull ZipkinData zipkinData); void emitAnnotations(@Nonnull ZipkinAnnotationsStore zipkinAnnotationsStore); void emitAnnotation(@Nonnull ZipkinData zipkinData, @Nonnull String s); void emitAnnotation(@Nonnull ZipkinData zipkinData, @Nonnull String key, @Nonnull String value); void emitAnnotation(@Nonnull ZipkinData zipkinData, @Nonnull String key, short value); void emitAnnotation(@Nonnull ZipkinData zipkinData, @Nonnull String key, int value); void emitAnnotation(@Nonnull ZipkinData zipkinData, @Nonnull String key, long value); void emitAnnotation(@Nonnull ZipkinData zipkinData, @Nonnull String key, double value); void emitAnnotation(@Nonnull ZipkinData zipkinData, @Nonnull String key, boolean value); void emitAnnotation(@Nonnull ZipkinData zipkinData, @Nonnull String key, byte[] value); @Override void afterPropertiesSet(); @ManagedAttribute int getCurrentQueueSize(); @ManagedAttribute int getRemainingQueueCapacity();  }### Answer:
@Test public void emitServerSend_ShouldEmitServerSendAnnotation() { Annotation annotation = new Annotation(timestampMicros, zipkinCoreConstants.SERVER_SEND); annotation.setHost(endpoint); List<BinaryAnnotation> binaryAnnotations = Collections.emptyList(); Span expectedSpan = new Span(traceId, spanName, spanId, Lists.newArrayList(annotation), binaryAnnotations); expectedSpan.setParent_id(0); victim.emitServerSend(zipkinData); verify(zipkinSpanCollector).collect(expectedSpan); }