public void Setup() { _textBoxWrapperFactory = A.Fake <ITextBoxWrapperFactory>(); _swappableStrategyFactory = A.Fake <ISwappableStrategyFactory>(); _editableTextBoxFactory = A.Fake <IEditableTextBoxFactory>(); _editableTextBoxBoxBuilder = new EditableTextBoxBuilder(_textBoxWrapperFactory, _swappableStrategyFactory, _editableTextBoxFactory); }
public EditableTextBoxBuilder(ITextBoxWrapperFactory textBoxWrapperFactory, ISwappableStrategyFactory swappableStrategyFactory, IEditableTextBoxFactory editableTextBoxFactory) { _swappableStrategyFactory = swappableStrategyFactory; _editableTextBoxFactory = editableTextBoxFactory; _textBoxWrapperFactory = textBoxWrapperFactory; }