Package com.github.tomakehurst.wiremock.global

Examples of com.github.tomakehurst.wiremock.global.RequestDelaySpec.milliseconds()


    @Test
    public void canDeserialiseFromJson() {
        RequestDelaySpec spec =
                Json.read("{ \"milliseconds\": 80 }", RequestDelaySpec.class);

        assertThat(spec.milliseconds(), is(80));
    }
}
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.