def METHOD_NAME(self):
    """Test BooleanAttribute."""
    rc = create_resource_cls("attr_id", BooleanAttribute)
    r = rc("attr_id", constants.VI_TRUE)
    assert r.attr is True
    r.attr = False
    assert r.attr is False
    assert r.attr_value == constants.VI_FALSE