Inherits from DixieBaseChaosProvider : NSObject
Declared in DixieConstantChaosProvider.h
DixieConstantChaosProvider.m

Overview

Provides a behaviour, where a given constant will be returned from the method’s implementation

Tasks

Other Methods

Other Methods

Properties

constant

The constant value to return

@property (readonly) id constant

Discussion

The constant value to return

Declared In

DixieConstantChaosProvider.h

Class Methods

constant:

Creates a DixieConstantChaosProvider

+ (instancetype)constant:(id)constant

Parameters

constant

The value the DixieConstantChaosProvider will return

Return Value

a DixieConstantChaosProvider

Discussion

Creates a DixieConstantChaosProvider

Declared In

DixieConstantChaosProvider.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