Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | package afrikpay |
||
2 | |||
3 | import ( |
||
4 | "encoding/json" |
||
5 | "log" |
||
6 | "testing" |
||
7 | |||
8 | "github.com/NdoleStudio/afrikpay-go/internal/stubs" |
||
9 | "github.com/davecgh/go-spew/spew" |
||
10 | ) |
||
11 | |||
12 | func TestPaymentService_Payment_EneoPrepaid(t *testing.T) { |
||
13 | result := new(ENEOPrepaidPaymentResponse) |
||
14 | if err := json.Unmarshal(stubs.ENEOPrepaidResponse(), result); err != nil { |
||
15 | log.Fatal(err) |
||
16 | } |
||
17 | spew.Dump(result.Result) |
||
18 | } |
||
19 |