We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ec7385 commit 4aa25f3Copy full SHA for 4aa25f3
2 files changed
gitlab4j-models/src/test/java/org/gitlab4j/models/TestGitLabApiBeans.java
@@ -53,6 +53,12 @@ public void testApplications() throws Exception {
53
assertTrue(compareJson(applications, "applications.json"));
54
}
55
56
+ @Test
57
+ public void testAssociations() throws Exception {
58
+ Associations associations = unmarshalResource(Associations.class, "associations.json");
59
+ assertTrue(compareJson(associations, "associations.json"));
60
+ }
61
+
62
@Test
63
public void testAuditEvent() throws Exception {
64
List<AuditEvent> auditEvents = unmarshalResourceList(AuditEvent.class, "audit-events.json");
gitlab4j-models/src/test/resources/org/gitlab4j/models/associations.json
@@ -0,0 +1,6 @@
1
+{
2
+ "groups_count": 2,
3
+ "projects_count": 3,
4
+ "issues_count": 8,
5
+ "merge_requests_count": 5
6
+}
0 commit comments