public void OneTimeSetUp() { imageWidth = 2048; imageHeight = 1024; settings = A.Fake <ICloudLayouterSettings>(); A.CallTo(() => settings.ImageWidth) .Returns(imageWidth); A.CallTo(() => settings.ImageHeight) .Returns(imageHeight); A.CallTo(() => settings.CenterX) .Returns(0); A.CallTo(() => settings.CenterY) .Returns(0); defaultRectangle = new Size(200, 50); }
public CircularCloudLayouter(ICloudLayouterSettings settings) { this.settings = settings; }