Package com.volantis.testtools.mock.method

Examples of com.volantis.testtools.mock.method.Occurrences


            root.dump(writer);
        }
    }

    public Occurrences add(Expectations expectations) {
        Occurrences occurrences = beginRepeated();
        expectations.addTo(this);
        endRepeated();
        return occurrences;
    }
View Full Code Here


        setDescription(description);
        return this;
    }

    public void any() {
        Occurrences occurrences = getOccurences();
        occurrences.any();
    }
View Full Code Here

        Occurrences occurrences = getOccurences();
        occurrences.any();
    }

    public void atLeast(int minimum) {
        Occurrences occurrences = getOccurences();
        occurrences.atLeast(minimum);
    }
View Full Code Here

        Occurrences occurrences = getOccurences();
        occurrences.atLeast(minimum);
    }

    public void fixed(int number) {
        Occurrences occurrences = getOccurences();
        occurrences.fixed(number);
    }
View Full Code Here

        Occurrences occurrences = getOccurences();
        occurrences.fixed(number);
    }

    public MaxOcurrences min(int minimum) {
        Occurrences occurrences = getOccurences();
        return occurrences.min(minimum);
    }
View Full Code Here

        Occurrences occurrences = getOccurences();
        return occurrences.min(minimum);
    }

    public void optional() {
        Occurrences occurrences = getOccurences();
        occurrences.optional();
    }
View Full Code Here

        Occurrences occurrences = getOccurences();
        occurrences.optional();
    }

    public void unbounded() {
        Occurrences occurrences = getOccurences();
        occurrences.unbounded();
    }
View Full Code Here

        Occurrences occurrences = getOccurences();
        occurrences.unbounded();
    }

    public void max(int maximum) {
        Occurrences occurrences = getOccurences();
        occurrences.max(maximum);
    }
View Full Code Here

TOP

Related Classes of com.volantis.testtools.mock.method.Occurrences

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.