### Question:
RootNode extends BxmlNode { public List<VariantTypeNode> getSubstitutions() { return substitutions; } RootNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent); @Override void accept(BxmlNodeVisitor bxmlNodeVisitor); List<VariantTypeNode> getSubstitutions(); @Override String toString();  }### Answer:
@Test public void testInit() { List<BxmlNode> children = rootNode.getChildren(); assertEquals(1, children.size()); assertTrue(children.get(0) instanceof EndOfStreamNode); List<VariantTypeNode> substitutions = rootNode.getSubstitutions(); assertEquals(1, substitutions.size()); assertEquals(testString, substitutions.get(0).getValue()); }