EmptyDatastoreVerifierProcess implements Process { @Override public Map<String, PortType> getOutputPorts() { return ports.getOutput(); } EmptyDatastoreVerifierProcess(); @Override Map<String, PortType> getInputPorts(); @Override Map<String, PortType> getOutputPorts(); @Override void run(PortBindings portBindings, Configuration conf, Map<String, String> parameters); static final String INPUT_PORT_NAME; static final String DEFAULT_ENCODING; static final String OUTPUT_PROPERTY_IS_EMPTY; }
@Test public void testGetOutputPorts() { assertNotNull(process.getOutputPorts()); assertEquals(0, process.getOutputPorts().size()); }