XlsFormat extends ExportFormat { @Override public boolean isCompatible(DataSetMetadata metadata) { return true; } XlsFormat(); @Override List<Parameter> getParameters(); @Override int getOrder(); @Override boolean isCompatible(DataSetMetadata metadata); @Override boolean supportSampling(); static final String XLSX; }
@Test public void shouldBeCompatibleWithAll() throws Exception { assertTrue(format.isCompatible(null)); assertTrue(format.isCompatible(new DataSetMetadata())); }