Add wiremock data

This commit is contained in:
Liam Newman
2019-12-04 16:25:33 +00:00
parent 564b1d2a98
commit 1057636666
19 changed files with 1519 additions and 2 deletions

View File

@@ -2,13 +2,15 @@ package org.kohsuke.github;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.hamcrest.Matchers.*;
public class GHObjectTest extends org.kohsuke.github.AbstractGitHubWireMockTest {
@Test
public void test_toString() throws Exception {
GHOrganization org = gitHub.getOrganization(GITHUB_API_TEST_ORG);
assertThat(org.toString(),
containsString(
"login=github-api-test-org,location=<null>,blog=<null>,email=<null>,name=<null>,company=<null>,followers=0,following=0"));
}
}