java.beans.XMLEncoder encoder = new java.beans.XMLEncoder( System.out ); encoder.writeObject( b ); encoder.close();
    public void testMultiArgConstruct() throws Exception    {        Value a = new Construct( File.class.getName(), "aaa" );        Value b = new Construct( File.class.getName(), "${java.io.tmpdir}" );        Value c = new Construct( Context.class.getName(), new Value[]{a, b} );        Object value = c.resolve();        assertEquals( "isa-context", value.getClass(), Context.class );        Context context = (Context) value;        assertEquals( "file-a", context.getA(), new File( "aaa" ) );        assertEquals( "file-b", context.getB(), new File( System.getProperty( "java.io.tmpdir" ) ) );    }