Searched refs:contactPoint (Results 1 – 3 of 3) sorted by relevance
52 ContactPoint contactPoint = contactPointBuilder.build(); in testBuilder() local54 assertThat(contactPoint.getId()).isEqualTo(id); in testBuilder()55 assertThat(contactPoint.getLabel()).isEqualTo(label); in testBuilder()56 assertThat(contactPoint.getEmails()).asList().isEqualTo(emails); in testBuilder()57 assertThat(contactPoint.getAddresses()).asList().isEqualTo(addresses); in testBuilder()58 assertThat(contactPoint.getPhones()).asList().isEqualTo(telephones); in testBuilder()59 assertThat(contactPoint.getAppIds()).asList().isEqualTo(appIds); in testBuilder()
264 GenericDocument contactPoint = document.getPropertyDocumentArray( in testGetEnterpriseContact() local266 assertThat(contactPoint.getPropertyNames()).containsExactly(CONTACT_POINT_PROPERTY_LABEL, in testGetEnterpriseContact()268 assertThat(contactPoint.getPropertyString(CONTACT_POINT_PROPERTY_LABEL)).isEqualTo( in testGetEnterpriseContact()270 assertThat(contactPoint.getPropertyString(CONTACT_POINT_PROPERTY_EMAIL)).isEqualTo( in testGetEnterpriseContact()272 assertThat(contactPoint.getPropertyString(CONTACT_POINT_PROPERTY_TELEPHONE)).isEqualTo( in testGetEnterpriseContact()300 GenericDocument contactPoint = document.getPropertyDocumentArray( in testGetEnterpriseContact_withProjection() local302 assertThat(contactPoint.getPropertyNames()).containsExactly(CONTACT_POINT_PROPERTY_EMAIL); in testGetEnterpriseContact_withProjection()303 assertThat(contactPoint.getPropertyString(CONTACT_POINT_PROPERTY_EMAIL)).isEqualTo( in testGetEnterpriseContact_withProjection()306 assertThat(contactPoint.getPropertyString(CONTACT_POINT_PROPERTY_ADDRESS)).isNull(); in testGetEnterpriseContact_withProjection()328 GenericDocument contactPoint = document.getPropertyDocumentArray( in testSearchEnterpriseContacts() local[all …]
458 public Builder addContactPoint(@NonNull ContactPoint contactPoint) { in addContactPoint() argument459 Objects.requireNonNull(contactPoint); in addContactPoint()460 mContactPoints.add(contactPoint); in addContactPoint()