def METHOD_NAME(self):
    """Test from_knx function with normal operation."""
    xknx = XKNX()
    rv_0 = RemoteValueRaw(xknx, payload_length=0)
    rv_1 = RemoteValueRaw(xknx, payload_length=1)
    rv_2 = RemoteValueRaw(xknx, payload_length=2)
    assert rv_0.from_knx(DPTBinary(True)) == 1
    assert rv_0.from_knx(DPTBinary(0x4)) == 4
    assert rv_1.from_knx(DPTArray((0x64,))) == 100
    assert rv_2.from_knx(DPTArray((0x00, 0x64))) == 100
    with pytest.raises(ConversionError):
        assert rv_1.from_knx(DPTArray((256,)))