@Test(dependsOnMethods = "updateCreditCard", enabled = true)
  private void deleteCreditCard() {

    creditCardRepository = ctx.getBean(CreditCardRepository.class);
    // GET OBJECT
    CreditCard person = creditCardRepository.findOne(id);
    // DELETE OBJECT
    creditCardRepository.delete(person);
    // TRY GETTING THE OBJECT
    CreditCard deletedCreditCard = creditCardRepository.findOne(id);
    // CHECK IF YOU GOT NOTHING
    Assert.assertNull(deletedCreditCard);
  }
  @Test(dependsOnMethods = "readCreditCard", enabled = true)
  private void updateCreditCard() {
    creditCardRepository = ctx.getBean(CreditCardRepository.class);
    // GET THE OBJECT
    CreditCard creditCard = creditCardRepository.findOne(id);
    // CREATAE A NEW COPY
    CreditCard updatedCreditCard =
        new CreditCard.Builder("5555-555-555-55555")
            .CreditCard(creditCard)
            .nameOnCreditCard("MR JOE DOLE")
            .build();

    // SAVE THE NEW COPY
    creditCardRepository.save(updatedCreditCard);
    // GET NEW CARD AND TEST
    CreditCard newCreditCard = creditCardRepository.findOne(id);
    Assert.assertEquals(newCreditCard.getNameOnCreditCard(), "MR JOE DOLE");
  }
 @Test(dependsOnMethods = "createCreditCard", enabled = true)
 public void readCreditCard() {
   creditCardRepository = ctx.getBean(CreditCardRepository.class);
   CreditCard creditcard = creditCardRepository.findOne(id);
   Assert.assertEquals(creditcard.getNameOnCreditCard(), "John Dole");
 }