diff --git a/src/test/java/com/xero/api/client/PayrollAuApiEmployeeTest.java b/src/test/java/com/xero/api/client/PayrollAuApiEmployeeTest.java index 4a26781e..617f49c8 100644 --- a/src/test/java/com/xero/api/client/PayrollAuApiEmployeeTest.java +++ b/src/test/java/com/xero/api/client/PayrollAuApiEmployeeTest.java @@ -1,44 +1,17 @@ package com.xero.api.client; -import static org.junit.Assert.assertTrue; - import org.junit.*; import static org.hamcrest.MatcherAssert.*; import static org.hamcrest.Matchers.*; -import static org.hamcrest.Matchers.containsInAnyOrder; -import static org.hamcrest.Matchers.greaterThan; -import static org.hamcrest.collection.IsCollectionWithSize.hasSize; -import static org.hamcrest.core.Every.everyItem; - import com.xero.api.ApiClient; -import com.xero.api.client.*; import com.xero.models.payrollau.*; -import java.io.File; -import java.net.URL; - -import com.google.api.client.auth.oauth2.BearerToken; -import com.google.api.client.auth.oauth2.Credential; -import com.google.api.client.http.HttpRequestFactory; -import com.google.api.client.http.HttpTransport; -import com.google.api.client.http.javanet.NetHttpTransport; - import org.threeten.bp.*; import java.io.IOException; -import com.fasterxml.jackson.core.type.TypeReference; - -import java.io.File; -import java.io.IOException; - -import org.apache.commons.io.IOUtils; - -import java.util.Calendar; -import java.util.Map; import java.util.UUID; import java.util.List; import java.util.ArrayList; -import java.math.BigDecimal; public class PayrollAuApiEmployeeTest { @@ -56,7 +29,7 @@ public void setUp() { // Init projectApi client // NEW Sandbox for API Mocking - defaultClient = new ApiClient("https://5f9f95f1-25c8-40dd-8b10-8192c658dd79.mock.pstmn.io/payroll.xro/1.0",null,null,null,null); + defaultClient = new ApiClient("http://127.0.0.1:4017",null,null,null,null); payrollAuApi = PayrollAuApi.getInstance(defaultClient); } diff --git a/src/test/java/com/xero/api/client/PayrollAuApiLeaveApplicationTest.java b/src/test/java/com/xero/api/client/PayrollAuApiLeaveApplicationTest.java index a73ea525..aaf18f02 100644 --- a/src/test/java/com/xero/api/client/PayrollAuApiLeaveApplicationTest.java +++ b/src/test/java/com/xero/api/client/PayrollAuApiLeaveApplicationTest.java @@ -1,44 +1,17 @@ package com.xero.api.client; -import static org.junit.Assert.assertTrue; - import org.junit.*; import static org.hamcrest.MatcherAssert.*; import static org.hamcrest.Matchers.*; -import static org.hamcrest.Matchers.containsInAnyOrder; -import static org.hamcrest.Matchers.greaterThan; -import static org.hamcrest.collection.IsCollectionWithSize.hasSize; -import static org.hamcrest.core.Every.everyItem; - import com.xero.api.ApiClient; -import com.xero.api.client.*; import com.xero.models.payrollau.*; -import java.io.File; -import java.net.URL; - -import com.google.api.client.auth.oauth2.BearerToken; -import com.google.api.client.auth.oauth2.Credential; -import com.google.api.client.http.HttpRequestFactory; -import com.google.api.client.http.HttpTransport; -import com.google.api.client.http.javanet.NetHttpTransport; - import org.threeten.bp.*; import java.io.IOException; -import com.fasterxml.jackson.core.type.TypeReference; - -import java.io.File; -import java.io.IOException; - -import org.apache.commons.io.IOUtils; - -import java.util.Calendar; -import java.util.Map; import java.util.UUID; import java.util.List; import java.util.ArrayList; -import java.math.BigDecimal; public class PayrollAuApiLeaveApplicationTest { @@ -56,7 +29,7 @@ public void setUp() { // Init projectApi client // NEW Sandbox for API Mocking - defaultClient = new ApiClient("https://5f9f95f1-25c8-40dd-8b10-8192c658dd79.mock.pstmn.io/payroll.xro/1.0",null,null,null,null); + defaultClient = new ApiClient("http://127.0.0.1:4017",null,null,null,null); payrollAuApi = PayrollAuApi.getInstance(defaultClient); } @@ -102,7 +75,7 @@ public void getLeaveApplicationTest() throws IOException { assertThat(response.getLeaveApplications().get(0).getEndDateAsDate(), is(equalTo(LocalDate.of(2019,11,12)))); assertThat(response.getLeaveApplications().get(0).getLeavePeriods().get(0).getPayPeriodStartDateAsDate() , is(equalTo(LocalDate.of(2019,11,8)))); assertThat(response.getLeaveApplications().get(0).getLeavePeriods().get(0).getPayPeriodEndDateAsDate() , is(equalTo(LocalDate.of(2019,11,14)))); - assertThat(response.getLeaveApplications().get(0).getLeavePeriods().get(0).getNumberOfUnits(), is(equalTo(0.0))); + assertThat(response.getLeaveApplications().get(0).getLeavePeriods().get(0).getNumberOfUnits(), is(equalTo(7.6))); assertThat(response.getLeaveApplications().get(0).getLeavePeriods().get(0).getLeavePeriodStatus(), is(equalTo(com.xero.models.payrollau.LeavePeriodStatus.SCHEDULED))); assertThat(response.getLeaveApplications().get(0).getUpdatedDateUTCAsDate(), is(equalTo(OffsetDateTime.parse("2019-11-13T05:30:08Z")))); //System.out.println(response.toString()); @@ -123,7 +96,7 @@ public void createLeaveApplicationTest() throws IOException { assertThat(response.getLeaveApplications().get(0).getEndDateAsDate(), is(equalTo(LocalDate.of(2019,11,01)))); assertThat(response.getLeaveApplications().get(0).getLeavePeriods().get(0).getPayPeriodStartDateAsDate() , is(equalTo(LocalDate.of(2019,11,1)))); assertThat(response.getLeaveApplications().get(0).getLeavePeriods().get(0).getPayPeriodEndDateAsDate() , is(equalTo(LocalDate.of(2019,11,07)))); - assertThat(response.getLeaveApplications().get(0).getLeavePeriods().get(0).getNumberOfUnits(), is(equalTo(0.6))); + assertThat(response.getLeaveApplications().get(0).getLeavePeriods().get(0).getNumberOfUnits(), is(equalTo(7.6))); assertThat(response.getLeaveApplications().get(0).getLeavePeriods().get(0).getLeavePeriodStatus(), is(equalTo(com.xero.models.payrollau.LeavePeriodStatus.SCHEDULED))); assertThat(response.getLeaveApplications().get(0).getUpdatedDateUTCAsDate(), is(equalTo(OffsetDateTime.parse("2019-11-13T21:16:31.897Z")))); //System.out.println(response.toString()); @@ -146,7 +119,7 @@ public void updateLeaveApplicationTest() throws IOException { assertThat(response.getLeaveApplications().get(0).getDescription(), is(equalTo("My updated Description"))); assertThat(response.getLeaveApplications().get(0).getLeavePeriods().get(0).getPayPeriodStartDateAsDate() , is(equalTo(LocalDate.of(2019,11,01)))); assertThat(response.getLeaveApplications().get(0).getLeavePeriods().get(0).getPayPeriodEndDateAsDate() , is(equalTo(LocalDate.of(2019,11,07)))); - assertThat(response.getLeaveApplications().get(0).getLeavePeriods().get(0).getNumberOfUnits(), is(equalTo(0.6))); + assertThat(response.getLeaveApplications().get(0).getLeavePeriods().get(0).getNumberOfUnits(), is(equalTo(7.6))); assertThat(response.getLeaveApplications().get(0).getLeavePeriods().get(0).getLeavePeriodStatus(), is(equalTo(com.xero.models.payrollau.LeavePeriodStatus.SCHEDULED))); assertThat(response.getLeaveApplications().get(0).getUpdatedDateUTCAsDate(), is(equalTo(OffsetDateTime.parse("2019-11-13T21:16:32.293Z")))); //System.out.println(response.toString()); diff --git a/src/test/java/com/xero/api/client/PayrollAuApiPayItemTest.java b/src/test/java/com/xero/api/client/PayrollAuApiPayItemTest.java index a18b3bb3..b276a251 100644 --- a/src/test/java/com/xero/api/client/PayrollAuApiPayItemTest.java +++ b/src/test/java/com/xero/api/client/PayrollAuApiPayItemTest.java @@ -1,44 +1,15 @@ package com.xero.api.client; -import static org.junit.Assert.assertTrue; - import org.junit.*; import static org.hamcrest.MatcherAssert.*; import static org.hamcrest.Matchers.*; -import static org.hamcrest.Matchers.containsInAnyOrder; -import static org.hamcrest.Matchers.greaterThan; -import static org.hamcrest.collection.IsCollectionWithSize.hasSize; -import static org.hamcrest.core.Every.everyItem; - import com.xero.api.ApiClient; -import com.xero.api.client.*; import com.xero.models.payrollau.*; -import java.io.File; -import java.net.URL; - -import com.google.api.client.auth.oauth2.BearerToken; -import com.google.api.client.auth.oauth2.Credential; -import com.google.api.client.http.HttpRequestFactory; -import com.google.api.client.http.HttpTransport; -import com.google.api.client.http.javanet.NetHttpTransport; - import org.threeten.bp.*; import java.io.IOException; -import com.fasterxml.jackson.core.type.TypeReference; - -import java.io.File; -import java.io.IOException; - -import org.apache.commons.io.IOUtils; - -import java.util.Calendar; -import java.util.Map; import java.util.UUID; -import java.util.List; -import java.util.ArrayList; -import java.math.BigDecimal; public class PayrollAuApiPayItemTest { @@ -56,7 +27,7 @@ public void setUp() { // Init projectApi client // NEW Sandbox for API Mocking - defaultClient = new ApiClient("https://5f9f95f1-25c8-40dd-8b10-8192c658dd79.mock.pstmn.io/payroll.xro/1.0",null,null,null,null); + defaultClient = new ApiClient("http://127.0.0.1:4017",null,null,null,null); payrollAuApi = PayrollAuApi.getInstance(defaultClient); } diff --git a/src/test/java/com/xero/api/client/PayrollAuApiPayRunTest.java b/src/test/java/com/xero/api/client/PayrollAuApiPayRunTest.java index 59ce8624..9c0af864 100644 --- a/src/test/java/com/xero/api/client/PayrollAuApiPayRunTest.java +++ b/src/test/java/com/xero/api/client/PayrollAuApiPayRunTest.java @@ -1,44 +1,17 @@ package com.xero.api.client; -import static org.junit.Assert.assertTrue; - import org.junit.*; import static org.hamcrest.MatcherAssert.*; import static org.hamcrest.Matchers.*; -import static org.hamcrest.Matchers.containsInAnyOrder; -import static org.hamcrest.Matchers.greaterThan; -import static org.hamcrest.collection.IsCollectionWithSize.hasSize; -import static org.hamcrest.core.Every.everyItem; - import com.xero.api.ApiClient; -import com.xero.api.client.*; import com.xero.models.payrollau.*; -import java.io.File; -import java.net.URL; - -import com.google.api.client.auth.oauth2.BearerToken; -import com.google.api.client.auth.oauth2.Credential; -import com.google.api.client.http.HttpRequestFactory; -import com.google.api.client.http.HttpTransport; -import com.google.api.client.http.javanet.NetHttpTransport; - import org.threeten.bp.*; import java.io.IOException; -import com.fasterxml.jackson.core.type.TypeReference; - -import java.io.File; -import java.io.IOException; - -import org.apache.commons.io.IOUtils; - -import java.util.Calendar; -import java.util.Map; import java.util.UUID; import java.util.List; import java.util.ArrayList; -import java.math.BigDecimal; public class PayrollAuApiPayRunTest { @@ -56,7 +29,7 @@ public void setUp() { // Init projectApi client // NEW Sandbox for API Mocking - defaultClient = new ApiClient("https://5f9f95f1-25c8-40dd-8b10-8192c658dd79.mock.pstmn.io/payroll.xro/1.0",null,null,null,null); + defaultClient = new ApiClient("http://127.0.0.1:4017",null,null,null,null); payrollAuApi = PayrollAuApi.getInstance(defaultClient); } diff --git a/src/test/java/com/xero/api/client/PayrollAuApiPayrollCalendarTest.java b/src/test/java/com/xero/api/client/PayrollAuApiPayrollCalendarTest.java index e9125234..721e77f4 100644 --- a/src/test/java/com/xero/api/client/PayrollAuApiPayrollCalendarTest.java +++ b/src/test/java/com/xero/api/client/PayrollAuApiPayrollCalendarTest.java @@ -1,44 +1,17 @@ package com.xero.api.client; -import static org.junit.Assert.assertTrue; - import org.junit.*; import static org.hamcrest.MatcherAssert.*; import static org.hamcrest.Matchers.*; -import static org.hamcrest.Matchers.containsInAnyOrder; -import static org.hamcrest.Matchers.greaterThan; -import static org.hamcrest.collection.IsCollectionWithSize.hasSize; -import static org.hamcrest.core.Every.everyItem; - import com.xero.api.ApiClient; -import com.xero.api.client.*; import com.xero.models.payrollau.*; -import java.io.File; -import java.net.URL; - -import com.google.api.client.auth.oauth2.BearerToken; -import com.google.api.client.auth.oauth2.Credential; -import com.google.api.client.http.HttpRequestFactory; -import com.google.api.client.http.HttpTransport; -import com.google.api.client.http.javanet.NetHttpTransport; - import org.threeten.bp.*; import java.io.IOException; -import com.fasterxml.jackson.core.type.TypeReference; - -import java.io.File; -import java.io.IOException; - -import org.apache.commons.io.IOUtils; - -import java.util.Calendar; -import java.util.Map; import java.util.UUID; import java.util.List; import java.util.ArrayList; -import java.math.BigDecimal; public class PayrollAuApiPayrollCalendarTest { @@ -56,7 +29,7 @@ public void setUp() { // Init projectApi client // NEW Sandbox for API Mocking - defaultClient = new ApiClient("https://5f9f95f1-25c8-40dd-8b10-8192c658dd79.mock.pstmn.io/payroll.xro/1.0",null,null,null,null); + defaultClient = new ApiClient("http://127.0.0.1:4017",null,null,null,null); payrollAuApi = PayrollAuApi.getInstance(defaultClient); } diff --git a/src/test/java/com/xero/api/client/PayrollAuApiPayslipTest.java b/src/test/java/com/xero/api/client/PayrollAuApiPayslipTest.java index aa7019bf..aeaa26bc 100644 --- a/src/test/java/com/xero/api/client/PayrollAuApiPayslipTest.java +++ b/src/test/java/com/xero/api/client/PayrollAuApiPayslipTest.java @@ -1,44 +1,17 @@ package com.xero.api.client; -import static org.junit.Assert.assertTrue; - import org.junit.*; import static org.hamcrest.MatcherAssert.*; import static org.hamcrest.Matchers.*; -import static org.hamcrest.Matchers.containsInAnyOrder; -import static org.hamcrest.Matchers.greaterThan; -import static org.hamcrest.collection.IsCollectionWithSize.hasSize; -import static org.hamcrest.core.Every.everyItem; - import com.xero.api.ApiClient; -import com.xero.api.client.*; import com.xero.models.payrollau.*; -import java.io.File; -import java.net.URL; - -import com.google.api.client.auth.oauth2.BearerToken; -import com.google.api.client.auth.oauth2.Credential; -import com.google.api.client.http.HttpRequestFactory; -import com.google.api.client.http.HttpTransport; -import com.google.api.client.http.javanet.NetHttpTransport; - import org.threeten.bp.*; import java.io.IOException; -import com.fasterxml.jackson.core.type.TypeReference; - -import java.io.File; -import java.io.IOException; - -import org.apache.commons.io.IOUtils; - -import java.util.Calendar; -import java.util.Map; import java.util.UUID; import java.util.List; import java.util.ArrayList; -import java.math.BigDecimal; public class PayrollAuApiPayslipTest { @@ -56,7 +29,7 @@ public void setUp() { // Init projectApi client // NEW Sandbox for API Mocking - defaultClient = new ApiClient("https://5f9f95f1-25c8-40dd-8b10-8192c658dd79.mock.pstmn.io/payroll.xro/1.0",null,null,null,null); + defaultClient = new ApiClient("http://127.0.0.1:4017",null,null,null,null); payrollAuApi = PayrollAuApi.getInstance(defaultClient); } diff --git a/src/test/java/com/xero/api/client/PayrollAuApiSettingsTest.java b/src/test/java/com/xero/api/client/PayrollAuApiSettingsTest.java index ceb82cad..4662fe8a 100644 --- a/src/test/java/com/xero/api/client/PayrollAuApiSettingsTest.java +++ b/src/test/java/com/xero/api/client/PayrollAuApiSettingsTest.java @@ -1,44 +1,14 @@ package com.xero.api.client; -import static org.junit.Assert.assertTrue; - import org.junit.*; import static org.hamcrest.MatcherAssert.*; import static org.hamcrest.Matchers.*; -import static org.hamcrest.Matchers.containsInAnyOrder; -import static org.hamcrest.Matchers.greaterThan; -import static org.hamcrest.collection.IsCollectionWithSize.hasSize; -import static org.hamcrest.core.Every.everyItem; - import com.xero.api.ApiClient; -import com.xero.api.client.*; import com.xero.models.payrollau.*; -import java.io.File; -import java.net.URL; - -import com.google.api.client.auth.oauth2.BearerToken; -import com.google.api.client.auth.oauth2.Credential; -import com.google.api.client.http.HttpRequestFactory; -import com.google.api.client.http.HttpTransport; -import com.google.api.client.http.javanet.NetHttpTransport; - -import org.threeten.bp.*; import java.io.IOException; -import com.fasterxml.jackson.core.type.TypeReference; - -import java.io.File; -import java.io.IOException; - -import org.apache.commons.io.IOUtils; - -import java.util.Calendar; -import java.util.Map; import java.util.UUID; -import java.util.List; -import java.util.ArrayList; -import java.math.BigDecimal; public class PayrollAuApiSettingsTest { @@ -56,7 +26,7 @@ public void setUp() { // Init projectApi client // NEW Sandbox for API Mocking - defaultClient = new ApiClient("https://5f9f95f1-25c8-40dd-8b10-8192c658dd79.mock.pstmn.io/payroll.xro/1.0",null,null,null,null); + defaultClient = new ApiClient("http://127.0.0.1:4017",null,null,null,null); payrollAuApi = PayrollAuApi.getInstance(defaultClient); } diff --git a/src/test/java/com/xero/api/client/PayrollAuApiSuperFundTest.java b/src/test/java/com/xero/api/client/PayrollAuApiSuperFundTest.java index 4ced621a..174354da 100644 --- a/src/test/java/com/xero/api/client/PayrollAuApiSuperFundTest.java +++ b/src/test/java/com/xero/api/client/PayrollAuApiSuperFundTest.java @@ -1,44 +1,17 @@ package com.xero.api.client; -import static org.junit.Assert.assertTrue; - import org.junit.*; import static org.hamcrest.MatcherAssert.*; import static org.hamcrest.Matchers.*; -import static org.hamcrest.Matchers.containsInAnyOrder; -import static org.hamcrest.Matchers.greaterThan; -import static org.hamcrest.collection.IsCollectionWithSize.hasSize; -import static org.hamcrest.core.Every.everyItem; - import com.xero.api.ApiClient; -import com.xero.api.client.*; import com.xero.models.payrollau.*; -import java.io.File; -import java.net.URL; - -import com.google.api.client.auth.oauth2.BearerToken; -import com.google.api.client.auth.oauth2.Credential; -import com.google.api.client.http.HttpRequestFactory; -import com.google.api.client.http.HttpTransport; -import com.google.api.client.http.javanet.NetHttpTransport; - import org.threeten.bp.*; import java.io.IOException; -import com.fasterxml.jackson.core.type.TypeReference; - -import java.io.File; -import java.io.IOException; - -import org.apache.commons.io.IOUtils; - -import java.util.Calendar; -import java.util.Map; import java.util.UUID; import java.util.List; import java.util.ArrayList; -import java.math.BigDecimal; public class PayrollAuApiSuperFundTest { @@ -56,7 +29,7 @@ public void setUp() { // Init projectApi client // NEW Sandbox for API Mocking - defaultClient = new ApiClient("https://5f9f95f1-25c8-40dd-8b10-8192c658dd79.mock.pstmn.io/payroll.xro/1.0",null,null,null,null); + defaultClient = new ApiClient("http://127.0.0.1:4017",null,null,null,null); payrollAuApi = PayrollAuApi.getInstance(defaultClient); } diff --git a/src/test/java/com/xero/api/client/PayrollAuApiSuperfundProductTest.java b/src/test/java/com/xero/api/client/PayrollAuApiSuperfundProductTest.java index 4e8c466d..73e3cb16 100644 --- a/src/test/java/com/xero/api/client/PayrollAuApiSuperfundProductTest.java +++ b/src/test/java/com/xero/api/client/PayrollAuApiSuperfundProductTest.java @@ -1,44 +1,13 @@ package com.xero.api.client; -import static org.junit.Assert.assertTrue; - import org.junit.*; import static org.hamcrest.MatcherAssert.*; import static org.hamcrest.Matchers.*; -import static org.hamcrest.Matchers.containsInAnyOrder; -import static org.hamcrest.Matchers.greaterThan; -import static org.hamcrest.collection.IsCollectionWithSize.hasSize; -import static org.hamcrest.core.Every.everyItem; - import com.xero.api.ApiClient; -import com.xero.api.client.*; import com.xero.models.payrollau.*; -import java.io.File; -import java.net.URL; - -import com.google.api.client.auth.oauth2.BearerToken; -import com.google.api.client.auth.oauth2.Credential; -import com.google.api.client.http.HttpRequestFactory; -import com.google.api.client.http.HttpTransport; -import com.google.api.client.http.javanet.NetHttpTransport; - -import org.threeten.bp.*; import java.io.IOException; -import com.fasterxml.jackson.core.type.TypeReference; - -import java.io.File; -import java.io.IOException; - -import org.apache.commons.io.IOUtils; - -import java.util.Calendar; -import java.util.Map; -import java.util.UUID; -import java.util.List; -import java.util.ArrayList; -import java.math.BigDecimal; public class PayrollAuApiSuperfundProductTest { @@ -56,7 +25,7 @@ public void setUp() { // Init projectApi client // NEW Sandbox for API Mocking - defaultClient = new ApiClient("https://5f9f95f1-25c8-40dd-8b10-8192c658dd79.mock.pstmn.io/payroll.xro/1.0",null,null,null,null); + defaultClient = new ApiClient("http://127.0.0.1:4017",null,null,null,null); payrollAuApi = PayrollAuApi.getInstance(defaultClient); } diff --git a/src/test/java/com/xero/api/client/PayrollAuApiTimesheetTest.java b/src/test/java/com/xero/api/client/PayrollAuApiTimesheetTest.java index 1568d49b..f3d5df82 100644 --- a/src/test/java/com/xero/api/client/PayrollAuApiTimesheetTest.java +++ b/src/test/java/com/xero/api/client/PayrollAuApiTimesheetTest.java @@ -1,44 +1,17 @@ package com.xero.api.client; -import static org.junit.Assert.assertTrue; - import org.junit.*; import static org.hamcrest.MatcherAssert.*; import static org.hamcrest.Matchers.*; -import static org.hamcrest.Matchers.containsInAnyOrder; -import static org.hamcrest.Matchers.greaterThan; -import static org.hamcrest.collection.IsCollectionWithSize.hasSize; -import static org.hamcrest.core.Every.everyItem; - import com.xero.api.ApiClient; -import com.xero.api.client.*; import com.xero.models.payrollau.*; -import java.io.File; -import java.net.URL; - -import com.google.api.client.auth.oauth2.BearerToken; -import com.google.api.client.auth.oauth2.Credential; -import com.google.api.client.http.HttpRequestFactory; -import com.google.api.client.http.HttpTransport; -import com.google.api.client.http.javanet.NetHttpTransport; - import org.threeten.bp.*; import java.io.IOException; -import com.fasterxml.jackson.core.type.TypeReference; - -import java.io.File; -import java.io.IOException; - -import org.apache.commons.io.IOUtils; - -import java.util.Calendar; -import java.util.Map; import java.util.UUID; import java.util.List; import java.util.ArrayList; -import java.math.BigDecimal; public class PayrollAuApiTimesheetTest { @@ -56,7 +29,7 @@ public void setUp() { // Init projectApi client // NEW Sandbox for API Mocking - defaultClient = new ApiClient("https://5f9f95f1-25c8-40dd-8b10-8192c658dd79.mock.pstmn.io/payroll.xro/1.0",null,null,null,null); + defaultClient = new ApiClient("http://127.0.0.1:4017",null,null,null,null); payrollAuApi = PayrollAuApi.getInstance(defaultClient); }