DixieRandomChaosProvider Class Reference
Inherits from | DixieBaseChaosProvider : NSObject |
Declared in | DixieRandomChaosProvider.h DixieRandomChaosProvider.m |
Overview
Provides a behaviour, where the method’s implementation returns a random object, generated with a DixieRandomParamProvider
Class Methods
randomProvider:
Creates a DixieRandomChaosProvider
+ (instancetype)randomProvider:(id)paramProvider
Parameters
- paramProvider
The DixieRandomParamProvider to use as the random object generator
Return Value
a DixieRandomChaosProvider
Discussion
Creates a DixieRandomChaosProvider
Declared In
DixieRandomChaosProvider.h
Instance Methods
chaosImplementationFor:environment:
The behaviour implementation
- (void)chaosImplementationFor:(id)victim environment:(id)environment
Parameters
- victim
The class or instance of the class, that’s method should be changed
- environment
A DixieCallEnvironment, that describes the arguments and return value
Discussion
The behaviour implementation
Declared In
DixieBaseChaosProvider.h