|
32 | 32 | import java.util.List; |
33 | 33 | import java.util.Map; |
34 | 34 |
|
| 35 | +import org.gitlab4j.api.models.Application; |
35 | 36 | import org.gitlab4j.api.models.ArtifactsFile; |
36 | 37 | import org.gitlab4j.api.models.AwardEmoji; |
37 | 38 | import org.gitlab4j.api.models.Board; |
|
44 | 45 | import org.gitlab4j.api.models.DeployKey; |
45 | 46 | import org.gitlab4j.api.models.Diff; |
46 | 47 | import org.gitlab4j.api.models.Discussion; |
| 48 | +import org.gitlab4j.api.models.Email; |
47 | 49 | import org.gitlab4j.api.models.Epic; |
48 | 50 | import org.gitlab4j.api.models.EpicIssue; |
49 | 51 | import org.gitlab4j.api.models.Event; |
|
86 | 88 |
|
87 | 89 | public class TestGitLabApiBeans { |
88 | 90 |
|
| 91 | + @Test |
| 92 | + public void testApplications() throws Exception { |
| 93 | + List<Application> applications = unmarshalResourceList(Application.class, "applications.json"); |
| 94 | + assertTrue(compareJson(applications, "applications.json")); |
| 95 | + } |
| 96 | + |
89 | 97 | @Test |
90 | 98 | public void testAwardEmoji() throws Exception { |
91 | 99 | AwardEmoji awardEmoji = unmarshalResource(AwardEmoji.class, "award-emoji.json"); |
@@ -144,6 +152,12 @@ public void testComment() throws Exception { |
144 | 152 | assertTrue(compareJson(comment, "comment.json")); |
145 | 153 | } |
146 | 154 |
|
| 155 | + @Test |
| 156 | + public void testEmails() throws Exception { |
| 157 | + List<Email> emails = unmarshalResourceList(Email.class, "emails.json"); |
| 158 | + assertTrue(compareJson(emails, "emails.json")); |
| 159 | + } |
| 160 | + |
147 | 161 | @Test |
148 | 162 | public void testEpic() throws Exception { |
149 | 163 | Epic epic = unmarshalResource(Epic.class, "epic.json"); |
|
0 commit comments