def METHOD_NAME(self):
    serialized_value = self.serializer.serialize(
        {Binary(b'\x01'), Binary(b'\x02')}
    )
    assert len(serialized_value) == 1
    assert 'BS' in serialized_value
    self.assertCountEqual(serialized_value['BS'], [b'\x01', b'\x02'])