C# Class Xunit.PropertyStubs.CollectionPropertyStubRule

Inheritance: IPropertyStubRule
Show file Open project: BjRo/xunitbddextensions

Public Methods

Method Description
CanStub ( Type propertyType ) : bool
Stub ( IPropertyAdapter property ) : void

Private Methods

Method Description
CreateListOf ( Type itemType ) : IList
PopulateList ( IList list, Type itemType ) : void

Method Details

CanStub() public method

public CanStub ( Type propertyType ) : bool
propertyType System.Type
return bool

Stub() public method

public Stub ( IPropertyAdapter property ) : void
property IPropertyAdapter
return void