Table of Contents

Class MockTransformation

Namespace
NMF.Transformations.Tests
Assembly
NMF.Transformations.dll

Mocks a transformation

public class MockTransformation : Transformation
Inheritance
MockTransformation
Inherited Members

Remarks

The mocking effect comes from the fact that the mock transformation does not initialize all of its transformation rules. Instead, the transformation rules must be initialized manually by calling the RegisterDependencies method

Constructors

MockTransformation(params GeneralTransformationRule[])

Creates a new mock transformation with the given transformation rules

public MockTransformation(params GeneralTransformationRule[] rules)

Parameters

rules GeneralTransformationRule[]

A collection of transformation rules

MockTransformation(IEnumerable<GeneralTransformationRule>)

Creates a new mock transformation with the given transformation rules

public MockTransformation(IEnumerable<GeneralTransformationRule> rules)

Parameters

rules IEnumerable<GeneralTransformationRule>

A collection of transformation rules