Exemple #1
0
 public void testCount() {
   RootNode root =
       new RootNode(
           null,
           new SequenceNumber(1),
           new CollectionLeaf(new SequenceNumber(1), 1, AboraConverter.toAboraContent("12345")));
   assertEquals(5, root.count());
 }
Exemple #2
0
 public void testCountEmpty() {
   RootNode root = new RootNode(new BeEdition(), new SequenceNumber(1));
   assertEquals(0, root.count());
 }