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

Overview

Provides a behaviour, where the original method’s implementation can be replaced by a custom block

Tasks

Other Methods

Other Methods

Class Methods

block:

Creates an instance of DixieBlockChaosProvider

+ (instancetype)block:(id)block

Parameters

block

The block, that should be called as the method’s implementation

Return Value

a new instance of DixieBlockChaosProvider

Discussion

Creates an instance of DixieBlockChaosProvider

Declared In

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