public void Setup() { manager = new SupportedDevicesManager(); mocks = new MockRepository(); portableDevicesService = mocks.StrictMock<WindowsPortableDevicesService>(); manager.PortableDevicesService = portableDevicesService; }
public void Setup() { manager = new SupportedDevicesManager(); mocks = new MockRepository(); portableDevicesService = mocks.StrictMock <WindowsPortableDevicesService>(); manager.PortableDevicesService = portableDevicesService; }