summaryrefslogtreecommitdiff
path: root/test/Test/AWS/Gen/MarketplaceEntitlement.hs
blob: 58eadfeac8ba2f349d46012579bf842f056898f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-orphans        #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Test.AWS.Gen.MarketplaceEntitlement
-- Copyright   : (c) 2013-2018 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
module Test.AWS.Gen.MarketplaceEntitlement where

import Data.Proxy
import Network.AWS.MarketplaceEntitlement
import Test.AWS.Fixture
import Test.AWS.MarketplaceEntitlement.Internal
import Test.AWS.Prelude
import Test.Tasty

-- Auto-generated: the actual test selection needs to be manually placed into
-- the top-level so that real test data can be incrementally added.
--
-- This commented snippet is what the entire set should look like:

-- fixtures :: TestTree
-- fixtures =
--     [ testGroup "request"
--         [ requestGetEntitlements $
--             getEntitlements
--
--           ]

--     , testGroup "response"
--         [ responseGetEntitlements $
--             getEntitlementsResponse
--
--           ]
--     ]

-- Requests

requestGetEntitlements :: GetEntitlements -> TestTree
requestGetEntitlements = req
    "GetEntitlements"
    "fixture/GetEntitlements.yaml"

-- Responses

responseGetEntitlements :: GetEntitlementsResponse -> TestTree
responseGetEntitlements = res
    "GetEntitlementsResponse"
    "fixture/GetEntitlementsResponse.proto"
    marketplaceEntitlement
    (Proxy :: Proxy GetEntitlements)