AbstractLogFactory implements LogFactory { @Override public Collection<CommonSchemaLog> toCommonSchemaLogs(Log log) { return Collections.emptyList(); }  @Override Collection<CommonSchemaLog> toCommonSchemaLogs(Log log);  }
@Test public void toCommonSchemaLogs() { AbstractLogFactory logFactory = new AbstractLogFactory() { @Override public Log create() { return null; } }; Collection<CommonSchemaLog> logs = logFactory.toCommonSchemaLogs(null); assertNotNull(logs); assertSame(0, logs.size()); }