Exemplo n.º 1
0
        public TestGivenClause <T, TContext> WithContext <TContext>(TContext context)
        {
            var actionContainerSource = new ActionContainerSource <T, TContext>
            {
                GetActionContainer = delegate { return(_actionContainerSource.GetActionContainer()); }
            };

            return(new TestGivenClause <T, TContext>(actionContainerSource, context));
        }
Exemplo n.º 2
0
 internal TestGivenClause(ActionContainerSource <T> actionContainerSource)
 {
     _actionContainerSource = actionContainerSource;
 }