The method `org.jmock.Mockery.checking` in the Java library `org.jmock` is used to verify the expectations set on a mock object. It is typically called at the end of the setup phase of a unit test, where expectations for the mock objects are defined. The `checking` method ensures that the expectations are met during the execution of the test. If any expectation is not fulfilled, it will throw an exception. This method helps validate that the mock objects are behaving as expected and aids in writing reliable and accurate test cases.
Java Mockery.checking - 30 examples found. These are the top rated real world Java examples of org.jmock.Mockery.checking extracted from open source projects. You can rate examples to help us improve the quality of examples.