<BUG>buyClient.createAddress(customer.getId(), inputAddress, new Callback<Address>() {@Override</BUG><CONTEXT>createAddress();}private void createAddress() throws InterruptedException {final Address inputAddress = USE_MOCK_RESPONSES ? getExistingAddress() : generateAddress();final CountDownLatch latch = new CountDownLatch(1);<extra_id_0>public void success(Address address) {assertEquals(true, inputAddress.locationsAreEqual(address));assertEquals(inputAddress.getCompany(), address.getCompany());</CONTEXT>
buyClient.createAddress(inputAddress, new Callback<Address>() {@Override