コード例 #1
0
 internal TestExpectClause(T actionContainer,
                           IWhenActionWrapper actionUnderTest,
                           IEnumerable <IParameterActionWrapper> parameterActions)
 {
     _actionContainer  = actionContainer;
     _actionUnderTest  = actionUnderTest;
     _parameterActions = parameterActions;
 }
コード例 #2
0
 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();
 }
コード例 #3
0
 internal TestWhenClause(T actionContainer, IWhenActionWrapper actionUnderTest)
 {
     _actionContainer = actionContainer;
     _actionUnderTest = actionUnderTest;
 }
コード例 #4
0
 internal TestShouldClause(T actionContainer,
                           IWhenActionWrapper actionUnderTest,
                           IEnumerable <IParameterActionWrapper> parameterActions)
     : this(actionContainer, actionUnderTest, parameterActions, new List <IDependencyActionWrapper>())
 {
 }