TLiferayOutputDefinition extends LiferayDefinition { @Override public Set<ConnectorTopology> getSupportedConnectorTopologies() { return EnumSet.of( ConnectorTopology.INCOMING, ConnectorTopology.INCOMING_AND_OUTGOING); } TLiferayOutputDefinition(); @Override Class<? extends ComponentProperties>[] getNestedCompatibleComponentPropertiesClass(); @Override Class<? extends ComponentProperties> getPropertyClass(); @Override Property[] getReturnProperties(); @Override RuntimeInfo getRuntimeInfo(
		ExecutionEngine executionEngine,
		ComponentProperties componentProperties,
		ConnectorTopology connectorTopology); @Override Set<ConnectorTopology> getSupportedConnectorTopologies(); @Override boolean isConditionalInputs(); static final String COMPONENT_NAME; }
@Test public void testGetSupportedConnectorTopologies() { Set<ConnectorTopology> connectorTopologies = _tLiferayOutputDefinition.getSupportedConnectorTopologies(); assertThat( connectorTopologies, contains( ConnectorTopology.INCOMING, ConnectorTopology.INCOMING_AND_OUTGOING)); assertThat( connectorTopologies, not(contains(ConnectorTopology.OUTGOING, ConnectorTopology.NONE))); }