/* * 1 covered goal: * 1 nu.staldal.lagoon.core.OutputEntry.setMyProducer(Lnu/staldal/lagoon/core/ByteStreamProducer;)V: root-Branch */ @Test public void test2() throws Throwable { OutputEntry outputEntry0 = new OutputEntry(); XMLFormatter xMLFormatter0 = new XMLFormatter(); outputEntry0.setMyProducer((ByteStreamProducer) xMLFormatter0); assertNull(xMLFormatter0.getEntryName()); }
/* * 2 covered goals: * 1 nu.staldal.lagoon.core.OutputEntry.setBottomProducer(Lnu/staldal/lagoon/core/XMLStreamConsumer;)V: root-Branch * 2 nu.staldal.lagoon.core.OutputEntry.<init>()V: root-Branch */ @Test public void test0() throws Throwable { OutputEntry outputEntry0 = new OutputEntry(); XMLFormatter xMLFormatter0 = new XMLFormatter(); outputEntry0.setBottomProducer((XMLStreamConsumer) xMLFormatter0); assertEquals(0, xMLFormatter0.getPosition()); }
/* * 2 covered goals: * 1 nu.staldal.lagoon.core.OutputEntry.setNext(Lnu/staldal/lagoon/core/XMLStreamProducer;)V: root-Branch * 2 nu.staldal.lagoon.core.OutputEntry.<init>()V: root-Branch */ @Test public void test5() throws Throwable { OutputEntry outputEntry0 = new OutputEntry(); XSLTransformer xSLTransformer0 = new XSLTransformer(); // Undeclared exception! try { outputEntry0.setNext((XMLStreamProducer) xSLTransformer0); fail("Expecting exception: NullPointerException"); } catch (NullPointerException e) { } }
/* * 1 covered goal: * 1 nu.staldal.lagoon.core.OutputEntry.getByteProducer()Lnu/staldal/lagoon/core/ByteStreamProducer;: root-Branch */ @Test public void test4() throws Throwable { OutputEntry outputEntry0 = new OutputEntry(); ByteStreamProducer byteStreamProducer0 = outputEntry0.getByteProducer(); assertNull(byteStreamProducer0); }
/* * 1 covered goal: * 1 nu.staldal.lagoon.core.OutputEntry.setSourceManager(Lnu/staldal/lagoon/core/SourceManager;)V: root-Branch */ @Test public void test3() throws Throwable { OutputEntry outputEntry0 = new OutputEntry(); outputEntry0.setSourceManager((SourceManager) null); }
/* * 1 covered goal: * 1 nu.staldal.lagoon.core.OutputEntry.getSourceManager()Lnu/staldal/lagoon/core/SourceManager;: root-Branch */ @Test public void test1() throws Throwable { OutputEntry outputEntry0 = new OutputEntry(); SourceManager sourceManager0 = outputEntry0.getSourceManager(); assertNull(sourceManager0); }