Package org.jbehave.core.mock

Examples of org.jbehave.core.mock.UsingMatchers.anything()


   
    public void shouldProvideMatchersToCheckForAnything() {
        UsingMatchers m = new UsingMatchers() {};
        Ensure.that(null, m.not(m.nothing()));
        Ensure.that(new Object(), m.not(m.nothing()));
        Ensure.that(new Object(), m.anything());
        Ensure.that(null, m.anything());
    }
   
    public void shouldProvideCommonStringMatchers() {
        UsingMatchers m = new UsingMatchers() {};
View Full Code Here


    public void shouldProvideMatchersToCheckForAnything() {
        UsingMatchers m = new UsingMatchers() {};
        Ensure.that(null, m.not(m.nothing()));
        Ensure.that(new Object(), m.not(m.nothing()));
        Ensure.that(new Object(), m.anything());
        Ensure.that(null, m.anything());
    }
   
    public void shouldProvideCommonStringMatchers() {
        UsingMatchers m = new UsingMatchers() {};
       
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.