Uses of Package
org.spockframework.mock
Packages that use org.spockframework.mock
Package
Description
Spock's built-in mocking framework.
-
Classes in org.spockframework.mock used by org.spockframework.langClassDescriptionDetermines how method calls are processed and matched against interactions.A named set of defaults for a mock's configuration options.
-
Classes in org.spockframework.mock used by org.spockframework.mockClassDescriptionA response strategy that delegates method calls to the real object underlying the mock (if any).A response strategy that returns zero, an "empty" object, or a "dummy" object, depending on the method's declared return type.A strategy for responding to unexpected method calls.An interaction scope holds a group of interactions that will be verified, and thereafter removed, at the same time.Configuration options for mock objects.An anticipated interaction between the SUT and one or more mock objects.A method invocation on a mock object.Represents a method that can be mocked.Base class for exceptions thrown to indicate that one or more interactions were not satisfied.Generates responses to mock invocations.Determines how method calls are processed and matched against interactions.A named set of defaults for a mock's configuration options.A response strategy that returns zero, false, or null, depending on the method's return type.
-
Classes in org.spockframework.mock used by org.spockframework.mock.constraintClassDescriptionA constraint on an invocation argument.An anticipated interaction between the SUT and one or more mock objects.A method invocation on a mock object.
-
Classes in org.spockframework.mock used by org.spockframework.mock.responseClassDescriptionGenerates return values for invocations on mock objects.A method invocation on a mock object.Generates responses to mock invocations.
-
Classes in org.spockframework.mock used by org.spockframework.mock.runtimeClassDescriptionThrown to indicate a problem when creating a mock object.A strategy for responding to unexpected method calls.An interaction scope holds a group of interactions that will be verified, and thereafter removed, at the same time.Configuration options for mock objects.An anticipated interaction between the SUT and one or more mock objects.A method invocation on a mock object.Represents a method that can be mocked.Generates responses to mock invocations.Determines how method calls are processed and matched against interactions.A named set of defaults for a mock's configuration options.
-
Classes in org.spockframework.mock used by org.spockframework.runtime