public void testInitializeDocInstruction() throws Exception {
XMLContext context = new XMLContext();
Program p0 = new Program();
InitializeDocumentInstruction i1 = new InitializeDocumentInstruction();
Program p1 = new Program();
p1.addInstruction(i1);
FakeXMLProcessorEnvironment env = new FakeXMLProcessorEnvironment();
env.pushProgram(p0);
env.pushProgram(p1);
i1.process(env, context); // Should create new document