File tree 1 file changed +31
-0
lines changed
src/test/java/com/bunq/sdk/model/generated/endpoint
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ package com .bunq .sdk .model .generated .endpoint ;
2
+
3
+ import com .bunq .sdk .BunqSdkTestBase ;
4
+ import com .bunq .sdk .model .core .BunqModel ;
5
+ import com .google .gson .stream .JsonReader ;
6
+ import org .junit .BeforeClass ;
7
+ import org .junit .Test ;
8
+
9
+ import java .io .FileNotFoundException ;
10
+ import java .io .FileReader ;
11
+
12
+ import static org .junit .Assert .assertNotNull ;
13
+
14
+ public class MonetaryAccountJointTest extends BunqSdkTestBase {
15
+
16
+ private static final String PATH_TO_JSON_RESPONSE =
17
+ "src/test/Recourse/ResponseJsons/MonetaryAccountJoint.json" ;
18
+
19
+ @ BeforeClass
20
+ public static void setUp () {
21
+ }
22
+
23
+ @ Test
24
+ public void parseMonetaryAccountJoint () throws FileNotFoundException {
25
+ JsonReader jsonReader = new JsonReader (new FileReader (PATH_TO_JSON_RESPONSE ));
26
+ MonetaryAccountJoint monetaryAccountJoint = BunqModel .fromJsonReader (MonetaryAccountJoint .class , jsonReader );
27
+
28
+ assertNotNull (monetaryAccountJoint );
29
+ }
30
+
31
+ }
You can’t perform that action at this time.
0 commit comments