TLiferayInputDefinition extends LiferayDefinition { public Property<?>[] getReturnProperties() { return new Property[] { RETURN_ERROR_MESSAGE_PROP, RETURN_TOTAL_RECORD_COUNT_PROP }; } TLiferayInputDefinition(); @Override Class<? extends ComponentProperties>[] getNestedCompatibleComponentPropertiesClass(); @Override Class<? extends ComponentProperties> getPropertyClass(); Property<?>[] getReturnProperties(); @Override RuntimeInfo getRuntimeInfo(
		ExecutionEngine executionEngine,
		ComponentProperties componentProperties,
		ConnectorTopology connectorTopology); @Override Set<ConnectorTopology> getSupportedConnectorTopologies(); @Override boolean isStartable(); static final String COMPONENT_NAME; }
@Test public void testGetReturnProperties() { List<Property<?>> propertyList = Arrays.asList( _tLiferayInputDefinition.getReturnProperties()); assertThat(propertyList, hasSize(2)); Assert.assertTrue( propertyList.contains( ComponentDefinition.RETURN_TOTAL_RECORD_COUNT_PROP)); Assert.assertTrue( propertyList.contains( ComponentDefinition.RETURN_ERROR_MESSAGE_PROP)); }