def METHOD_NAME(self, get_payable, create_payment):
    def set_payments_side_effect(*args, **kwargs):
        self.payable.model.payment = Payment.objects.create(amount=8)
    create_payment.side_effect = set_payments_side_effect
    get_payable.return_value = self.payable
    response = self.client.post(
        reverse("api:v1:payment-list"), self.test_body, format="json"
    )
    create_payment.assert_called_with(self.payable, self.user, Payment.TPAY)
    self.assertEqual(201, response.status_code)
    self.assertEqual(
        reverse("api:v1:payment-detail", kwargs={"pk": self.payable.payment.pk}),
        response.headers["Location"],
    )