This is a convenience method for registering a method call handler where
a specific value should be returned when a method is called, rather than
some logic needs to be applied.
This is a convenience method for registering a method call handler where
a specific exception should be thrown when the method is called, rather
than some logic needs to be applied.
This is a convenience method for registering a method call handler where
a specific exception should be thrown when the method is called, rather
than some logic needs to be applied.