QuadTreeNode extends AbstractTreeNode<D, N> { @Override @Pure @SuppressWarnings("checkstyle:magicnumber") public int getChildCount() { return 4; } QuadTreeNode();  QuadTreeNode(Collection<D> data);  QuadTreeNode(D data);  QuadTreeNode(boolean useLinkedList);  QuadTreeNode(boolean useLinkedList, boolean copyDataCollection, List<D> data);  QuadTreeNode(boolean useLinkedList, D data); @Override @Pure Class<? extends Enum<?>> getPartitionEnumeration(); @Override void clear(); @Override @Pure @SuppressWarnings("checkstyle:magicnumber") int getChildCount(); @Override @Pure int getNotNullChildCount(); @Override @Pure N getChildAt(int index); @Pure N getChildAt(QuadTreeZone zone); boolean setFirstChild(N newChild); @Pure final N getFirstChild(); boolean setSecondChild(N newChild); @Pure final N getSecondChild(); boolean setThirdChild(N newChild); @Pure final N getThirdChild(); boolean setFourthChild(N newChild); @Pure final N getFourthChild(); @Override @Pure boolean isLeaf(); @Override boolean moveTo(N newParent, int index); boolean moveTo(N newParent, QuadTreeZone zone); @Override boolean setChildAt(int index, N newChild); boolean setChildAt(QuadTreeZone zone, N newChild); @Override boolean removeChild(N child); @Override @Pure int indexOf(N child); @Pure QuadTreeZone zoneOf(N child); @Override void getChildren(Object[] array); @Override @Pure int getMinHeight(); @Override @Pure int getMaxHeight();  }
@Test public void getChildCount() { assertEquals(4, this.root.getChildCount()); assertEquals(4, this.child1.getChildCount()); assertEquals(4, this.child2.getChildCount()); assertEquals(4, this.node.getChildCount()); }