@Test public void testCards() throws HTTPError { Customer customer = createPersonCustomer(); Card card = createCard(); assertNotNull(card); assertNotNull(card.href); card.associateToCustomer(customer); assertEquals(card.href, customer.cards.iterator().next().href); }