def METHOD_NAME(client):
    bytes_object = client.xml.get_bytes()
    assert isinstance(bytes_object, ModelWithByteProperty)
    assert bytes_object.bytes == b"Hello world"
    client.xml.put_binary(bytes_object)