internal TestExpectClause(T actionContainer, IWhenActionWrapper actionUnderTest, IEnumerable <IParameterActionWrapper> parameterActions) { _actionContainer = actionContainer; _actionUnderTest = actionUnderTest; _parameterActions = parameterActions; }
internal TestShouldClause(T actionContainer, IWhenActionWrapper actionUnderTest, IEnumerable <IParameterActionWrapper> parameterActions, IEnumerable <IDependencyActionWrapper> dependencyActions) { _actionContainer = actionContainer; _actionUnderTest = actionUnderTest; _parameterActions = parameterActions; _dependencyActions = dependencyActions; _performAction = (T item) => _actionUnderTest.Act(); }
internal TestWhenClause(T actionContainer, IWhenActionWrapper actionUnderTest) { _actionContainer = actionContainer; _actionUnderTest = actionUnderTest; }
internal TestShouldClause(T actionContainer, IWhenActionWrapper actionUnderTest, IEnumerable <IParameterActionWrapper> parameterActions) : this(actionContainer, actionUnderTest, parameterActions, new List <IDependencyActionWrapper>()) { }