Reading a jmock docs i see:
First we must import the jMock classes, define our test fixture class and create a "Mockery" that represents the context in which the Publisher exists. The context mocks out the objects that the Publisher collaborates with (in this case a Subscriber) and checks that they are used correctly during the test.
I like to know what mean "context in which the Publisher exists", this is a scope of the class or something like?