/// <summary> /// Creates a new instance of a wrapper for <see cref="AnnoObject"/>. /// </summary> /// <param name="annoObjectToWrap">The <see cref="AnnoObject"/> to wrap. Reference will be kept.</param> /// <param name="coordinateHelperToUse">The <see cref="ICoordinateHelper"/> to use in calculations.</param> /// <param name="brushCacheToUse">The <see cref="IBrushCache"/> used as a cache.</param> public LayoutObject(AnnoObject annoObjectToWrap, ICoordinateHelper coordinateHelperToUse, IBrushCache brushCacheToUse, IPenCache penCacheToUse) { WrappedAnnoObject = annoObjectToWrap; _coordinateHelper = coordinateHelperToUse; _brushCache = brushCacheToUse; _penCache = penCacheToUse; }
public ListExtensionsTests() { mockedCoordinateHelper = new Mock <ICoordinateHelper>().Object; mockedBrushCache = new Mock <IBrushCache>().Object; mockedPenCache = new Mock <IPenCache>().Object; }