public RectangleProcessorController(IRectangleMathHelper rectangleMathHelper, IDoubleRectangleFactory doubleRectangleFactory) { RectangleMathHelper = rectangleMathHelper; DoubleRectangleFactory = doubleRectangleFactory; }
public void Initialize() { _doubleRectangleFactory = MockRepository.GenerateMock <IDoubleRectangleFactory>(); _rectangleMathHelper = MockRepository.GenerateMock <IRectangleMathHelper>(); _rectangleProcessorController = new RectangleProcessorController(_rectangleMathHelper, _doubleRectangleFactory); }
public void Initialize() { RectangleMathHelper = new RectangleMathHelper(); }