Package com.wesabe.api.util.guid

Examples of com.wesabe.api.util.guid.GUID


      assertTrue(guid1.equals(guid1));
    }
   
    @Test
    public void shouldRepresentItselfAsAString() throws Exception {
      GUID guid1 = new GUID("yay");
      assertEquals("yay", guid1.toString());
    }
View Full Code Here


  public void setCurrency(Currency currency) {
    this.currencyCode = currency.getCurrencyCode();
  }

  public GUID getGuid() {
    return new GUID(guid);
  }
View Full Code Here

      assertEquals(Integer.valueOf(300), account.getId());
    }
   
    @Test
    public void itHasAGUID() throws Exception {
      assertEquals(new GUID("0123456789"), account.getGuid());
    }
View Full Code Here

TOP

Related Classes of com.wesabe.api.util.guid.GUID

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.