public virtual void SetUp()
 {
     _bluetoothServiceMock = new Mock<IBluetoothService>();
     _bluetoothServiceMock.Setup(bs => bs.IsSupported).Returns(true);
     _bluetoothServiceMock.SetupAllProperties();
     _bluetoothProfileActivator = new Mock<IBluetoothProfileActivator>();
     _bluetoothProfileActivator.SetupAllProperties();
     _bluetoothProfileActivator.Object.IsEnabled = true;
     _testSchedulerProvider = new TestSchedulerProvider();
     _viewModel = new BluetoothSetupViewModel(_bluetoothServiceMock.Object,_bluetoothProfileActivator.Object, _testSchedulerProvider);
 }
        public virtual void Setup()
        {
            _bluetoothServiceMock = new Mock<IBluetoothService>();
            _testSchedulerProvider = new TestSchedulerProvider();
            _bluetoothDeviceInfoMock = new Mock<IBluetoothDeviceInfo>();

            _sut = new BluetoothDevice(_bluetoothDeviceInfoMock.Object, _bluetoothServiceMock.Object,
                                       _testSchedulerProvider);


            _bluetoothDeviceInfoMock.Setup(bt => bt.DeviceAddress).Returns(_expectedAddress);
            _bluetoothDeviceInfoMock.Setup(bt => bt.DeviceName).Returns(_expectedName);
            _bluetoothDeviceInfoMock.Setup(bt => bt.DeviceType).Returns(BluetoothDeviceType.Create(DeviceClass.SmartPhone));
        }