Open sandboxFocus

Method GetData

GetData(MethodInfo)

Returns the data to be used to test the theory.

Declaration
public override IEnumerable<object[]> GetData(MethodInfo testMethod)
Parameters
Type Name Description
MethodInfo testMethod

The method that is being tested

Returns
Type Description
IEnumerable<object[]>

One or more sets of theory data. Each invocation of the test method is represented by a single object array.

Overrides