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)); }
internal TestGivenClause(ActionContainerSource <T> actionContainerSource) { _actionContainerSource = actionContainerSource; }