157158159160161162163164165166
root.dump(writer); } } public Occurrences add(Expectations expectations) { Occurrences occurrences = beginRepeated(); expectations.addTo(this); endRepeated(); return occurrences; }
2930313233343536
setDescription(description); return this; } public void any() { Occurrences occurrences = getOccurences(); occurrences.any(); }
3435363738394041
Occurrences occurrences = getOccurences(); occurrences.any(); } public void atLeast(int minimum) { Occurrences occurrences = getOccurences(); occurrences.atLeast(minimum); }
3940414243444546
Occurrences occurrences = getOccurences(); occurrences.atLeast(minimum); } public void fixed(int number) { Occurrences occurrences = getOccurences(); occurrences.fixed(number); }
4445464748495051
Occurrences occurrences = getOccurences(); occurrences.fixed(number); } public MaxOcurrences min(int minimum) { Occurrences occurrences = getOccurences(); return occurrences.min(minimum); }
4950515253545556
Occurrences occurrences = getOccurences(); return occurrences.min(minimum); } public void optional() { Occurrences occurrences = getOccurences(); occurrences.optional(); }
5455565758596061
Occurrences occurrences = getOccurences(); occurrences.optional(); } public void unbounded() { Occurrences occurrences = getOccurences(); occurrences.unbounded(); }
5960616263646566
Occurrences occurrences = getOccurences(); occurrences.unbounded(); } public void max(int maximum) { Occurrences occurrences = getOccurences(); occurrences.max(maximum); }