def METHOD_NAME():
    """
    Test of getting address of bluetooth adapter
    """
    mock = MagicMock(return_value={})
    with patch.object(bluez, "address_", mock):
        pytest.raises(CommandExecutionError, bluez.power, "hci0", "on")
    mock = MagicMock(return_value={"hci0": {"device": "hci0", "power": "on"}})
    with patch.object(bluez, "address_", mock):
        mock = MagicMock(return_value="")
        with patch.dict(bluez.__salt__, {"cmd.run": mock}):
            assert bluez.power("hci0", "on")
    mock = MagicMock(return_value={"hci0": {"device": "hci0", "power": "on"}})
    with patch.object(bluez, "address_", mock):
        mock = MagicMock(return_value="")
        with patch.dict(bluez.__salt__, {"cmd.run": mock}):
            assert not bluez.power("hci0", "off")