public void Setup()
        {
            manager = new SupportedDevicesManager();

            mocks = new MockRepository();

            portableDevicesService = mocks.StrictMock<WindowsPortableDevicesService>();
            manager.PortableDevicesService = portableDevicesService;
        }
示例#2
0
        public void Setup()
        {
            manager = new SupportedDevicesManager();

            mocks = new MockRepository();

            portableDevicesService         = mocks.StrictMock <WindowsPortableDevicesService>();
            manager.PortableDevicesService = portableDevicesService;
        }