if ( args.size() != 0 ) {
String[] a = args.get( 0 );
String name = a[0].trim();
String leftInput = a[1].trim();
ObjectSource objectSource = (ObjectSource) context.get( leftInput );
ObjectSink mockedSink = Mockito.mock( ObjectSink.class,
Mockito.withSettings().extraInterfaces( DSLMock.class ) );
objectSource.addObjectSink( mockedSink );
context.put( name,
mockedSink );
} else {
throw new IllegalArgumentException( "Cannot parse arguments " + args );