@SuppressWarnings("unused")
  @Test
  public void testPurchaseSinglePass() {
    PurchasingManager pm = new PurchasingManager();
    PurchaseSinglePassRequest request = new PurchaseSinglePassRequest();
    request.setDate(new Date(234234l));
    request.setMobileDeviceMAC("456456");
    request.setQuantity(5);
    request.setVersion(1);

    PurchaseSinglePassCommand command = mock(PurchaseSinglePassCommand.class);

    PurchaseSinglePassResponse res = pm.purchaseSinglePass(request);
  }
  @Test
  public void testPurchaseYearlyPass() {

    PurchasingManager pm = new PurchasingManager();

    PurchaseYearlyPassRequest request = new PurchaseYearlyPassRequest();
    request.setDate(new Date(123123123l));
    request.setMobileDeviceMAC("234234234");
    request.setVersion(1);
    PurchaseThreeDayPassCommand command = mock(PurchaseThreeDayPassCommand.class);
    doNothing().when(command).execute();

    PurchaseYearlyPassResponse res = pm.purchaseYearlyPass(request);
    assertNotNull(res);
  }