Package com.calclab.emite.xep.vcard

Examples of com.calclab.emite.xep.vcard.VCardTelephone


  @Test
  public void shouldParseTelephones() {
    final List<VCardTelephone> telephones = vCard.getTelephones();
    assertEquals(6, telephones.size());
    final VCardTelephone first = telephones.get(0);
    assertTrue(first.hasPlace(Place.WORK));
    assertTrue(first.hasService(Service.VOICE));
    assertEquals("303-308-3282", first.getNumber());
  }
View Full Code Here

TOP

Related Classes of com.calclab.emite.xep.vcard.VCardTelephone

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.