EasyMock Tutorial: Mocking with EasyMock 5 and JUnit 5
EasyMock tutorial with JUnit 5. Create mocks, record expectations, replay and verify, mock void methods, use matchers, captures and nice or strict mocks.
EasyMock tutorial with JUnit 5. Create mocks, record expectations, replay and verify, mock void methods, use matchers, captures and nice or strict mocks.
Test Spring WebClient with MockWebServer and JUnit. Queue responses, route with a Dispatcher, verify requests, and simulate errors, delays and timeouts.
WireMock 3 tutorial for Java. Stub REST APIs in JUnit 5 tests, match requests, simulate delays and faults, verify calls and use stateful scenarios.
HowToDoInJava provides tutorials and how-to guides on Java and related technologies.
It also shares the best practices, algorithms & solutions and frequently asked interview questions.