def METHOD_NAME(event, item):
    o = Order.objects.create(
        code='FOO', event=event, email='dummy@dummy.test',
        status=Order.STATUS_PENDING, secret="k24fiuwvu8kxz3y1",
        datetime=datetime(2017, 12, 1, 10, 0, 0, tzinfo=timezone.utc),
        expires=datetime(2017, 12, 10, 10, 0, 0, tzinfo=timezone.utc),
        total=23, locale='en'
    )
    OrderPosition.objects.create(
        METHOD_NAME=o,
        item=item,
        variation=None,
        price=Decimal("23"),
        attendee_name_parts={'_legacy': "Peter"},
        secret="z3fsn8jyufm5kpk768q69gkbyr5f4h6w",
        pseudonymization_id="ABCDEFGHKL",
    )
    return o