def METHOD_NAME(self):
    url = reverse('plan-list')
    ProductCodeFactory.create_batch(2)
    feature1_pc = ProductCode.objects.all()[0].value
    plan_pc = ProductCode.objects.all()[1].value
    provider = ProviderFactory.create()
    provider_url = reverse('provider-detail',
                           kwargs={'pk': provider.pk})
    response = self.client.post(url, json.dumps({
        "name": "Hydrogen",
        "interval": "month",
        "interval_count": 1,
        "amount": 149.99,
        "currency": "USD",
        "trial_period_days": 15,
        "generate_after": 86400,
        "enabled": True,
        "private": False,
        "product_code": plan_pc,
        'metered_features': [
            {'name': 'Page Views',
             'unit': '100k',
             'price_per_unit': 0.01,
             'included_units': 0,
             'product_code': feature1_pc},
            {'name': 'VIP Support',
             'price_per_unit': 49.99,
             'unit': 1,
             'included_units': 1,
             'product_code': "1234"}
        ],
        'provider': provider_url
    }), content_type='application/json')
    assert response.status_code == status.HTTP_201_CREATED