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