C# Class NSubstitute.Core.ConfigureCall

Inheritance: IConfigureCall
Datei anzeigen Open project: nsubstitute/NSubstitute Class Usage Examples

Public Methods

Method Description
ConfigureCall ( ICallResults configuredResults, ICallActions callActions, IGetCallSpec getCallSpec ) : NSubstitute.Exceptions
SetResultForCall ( ICall call, IReturn valueToReturn, NSubstitute.Core.MatchArgs matchArgs ) : void
SetResultForLastCall ( IReturn valueToReturn, NSubstitute.Core.MatchArgs matchArgs ) : NSubstitute.Core.ConfiguredCall

Private Methods

Method Description
CheckResultIsCompatibleWithCall ( IReturn valueToReturn, ICallSpecification spec ) : void

Method Details

ConfigureCall() public method

public ConfigureCall ( ICallResults configuredResults, ICallActions callActions, IGetCallSpec getCallSpec ) : NSubstitute.Exceptions
configuredResults ICallResults
callActions ICallActions
getCallSpec IGetCallSpec
return NSubstitute.Exceptions

SetResultForCall() public method

public SetResultForCall ( ICall call, IReturn valueToReturn, NSubstitute.Core.MatchArgs matchArgs ) : void
call ICall
valueToReturn IReturn
matchArgs NSubstitute.Core.MatchArgs
return void

SetResultForLastCall() public method

public SetResultForLastCall ( IReturn valueToReturn, NSubstitute.Core.MatchArgs matchArgs ) : NSubstitute.Core.ConfiguredCall
valueToReturn IReturn
matchArgs NSubstitute.Core.MatchArgs
return NSubstitute.Core.ConfiguredCall