Package com.github.restdriver.clientdriver

Examples of com.github.restdriver.clientdriver.ClientDriverExpectation.anyTimes()


    }
   
    @Test
    public void expectationExpectedAnyNumberOfTimesIsMarkedAsSuch() {
        ClientDriverExpectation expectation = new ClientDriverExpectation(PAIR);
        expectation.anyTimes();
        assertThat(expectation.shouldMatchAnyTimes(), is(true));
    }
   
    @Test
    public void expectationExpectedAnyNumberOfTimesIsNotSatisfied() {
View Full Code Here


    }
   
    @Test
    public void expectationExpectedAnyNumberOfTimesIsNotSatisfied() {
        ClientDriverExpectation expectation = new ClientDriverExpectation(PAIR);
        expectation.anyTimes();
        assertThat(expectation.isSatisfied(), is(false));
    }
   
    @Test
    public void expectationExpectedAnyNumberOfTimesHasCorrectStatusString() {
View Full Code Here

    }
   
    @Test
    public void expectationExpectedAnyNumberOfTimesHasCorrectStatusString() {
        ClientDriverExpectation expectation = new ClientDriverExpectation(PAIR);
        expectation.anyTimes();
        assertThat(expectation.getStatusString(), is("expected: any, actual: 0"));
    }
   
}
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.