    @Test(expected = IllegalStateException.class)
    public void whenTryBoundingDeviceButDeviceIsNullShouldCheckThatThrowException() throws Exception {

        Activity activity = mock(Activity.class);
        BluetoothDiscoveryDeviceListener listener = mock(BluetoothDiscoveryDeviceListener.class);
        BluetoothAdapter adapter = mock(BluetoothAdapter.class);
        mockStatic(BluetoothAdapter.class);
        when(BluetoothAdapter.getDefaultAdapter()).thenReturn(adapter);
        BluetoothController controller = new BluetoothController(activity, adapter, listener);
        controller.getPairingDeviceStatus();
    }