public void testOutputDef() {
startTest();
try {
FileOutputStream outputStream = new FileOutputStream( "c:/test.txt" ); //$NON-NLS-1$
OutputDef outputDef1 = new OutputDef( "FirstOutputName", outputStream ); //$NON-NLS-1$
outputDef1.setValue( "MyOutputDefinition" ); //$NON-NLS-1$
assertEquals( outputDef1.getName(), "FirstOutputName" ); //$NON-NLS-1$
OutputDef outputDef2 = new OutputDef( "SecondOutputName", new ArrayList() ); //$NON-NLS-1$
assertEquals( outputDef2.getName(), "SecondOutputName" ); //$NON-NLS-1$
OutputDef outputDef3 = new OutputDef( "ThirdOutputName", "MyOutputType" ); //$NON-NLS-1$ //$NON-NLS-2$
assertEquals( outputDef3.getName(), "ThirdOutputName" ); //$NON-NLS-1$
} catch ( Exception e ) {
e.printStackTrace();
}
assertTrue( true );