public CentralLayoutBuilder(ITableLayoutDecoratorApplier tableLayoutDecoratorApplier, List <ITableLayoutDecorator> tableLayoutDecorators, ITableLayoutWrapperFactory tableLayoutWrapperFactory, IPropertyApplier <IControlProperties> propertyApplier) { _tableLayoutDecoratorApplier = tableLayoutDecoratorApplier; _tableLayoutWrapperFactory = tableLayoutWrapperFactory; _propertyApplier = propertyApplier; _tableLayoutDecorators = tableLayoutDecorators; }
public void Setup() { _tableLayoutDecorators = new List <ITableLayoutDecorator>(); _layoutDecoratorApplier = A.Fake <ITableLayoutDecoratorApplier>(); _tableLayoutWrapperFactory = A.Fake <ITableLayoutWrapperFactory>(); _propertyApplier = A.Fake <IPropertyApplier <IControlProperties> >(); _centralLayoutBuilder = new CentralLayoutBuilder(_layoutDecoratorApplier, _tableLayoutDecorators, _tableLayoutWrapperFactory, _propertyApplier); }