public ApplyStateContextMock() { StateContextValue = new StateContextMock(); NewStateValue = new Mock<IState>().Object; OldStateValue = null; _context = new Lazy<ApplyStateContext>( () => new ApplyStateContext( StateContextValue.Object, NewStateValue, OldStateValue, new IState[0])); }
public ApplyStateContextMock() { StateContextValue = new StateContextMock(); NewStateValue = new Mock <IState>().Object; OldStateValue = null; _context = new Lazy <ApplyStateContext>( () => new ApplyStateContext( StateContextValue.Object, NewStateValue, OldStateValue, new IState[0])); }