### Question:
TCStringV2 implements TCString { @Override public IntIterable getCustomPurposesConsent() { if (cache.add(PPTC_CUSTOM_PURPOSES_CONSENT)) { customPurposesConsent = BitSetIntIterable.EMPTY; BitReader dvBbv = getSegment(SegmentType.PUBLISHER_TC); if (dvBbv != null) { customPurposesConsent = fillBitSet(dvBbv, PPTC_CUSTOM_PURPOSES_CONSENT); } } return customPurposesConsent; } private  TCStringV2(BitReader bbv); private  TCStringV2(BitReader bbv, BitReader... theRest); static TCStringV2 fromBitVector(BitReader coreBitVector, BitReader... remainingVectors); @Override IntIterable getPubPurposesConsent(); @Override int getVersion(); @Override Instant getCreated(); @Override Instant getLastUpdated(); @Override int getCmpId(); @Override int getCmpVersion(); @Override int getConsentScreen(); @Override String getConsentLanguage(); @Override int getVendorListVersion(); @Override IntIterable getPurposesConsent(); @Override IntIterable getVendorConsent(); @Override boolean getDefaultVendorConsent(); @Override int getTcfPolicyVersion(); @Override boolean isServiceSpecific(); @Override boolean getUseNonStandardStacks(); @Override IntIterable getSpecialFeatureOptIns(); @Override IntIterable getPurposesLITransparency(); @Override boolean getPurposeOneTreatment(); @Override String getPublisherCC(); @Override IntIterable getVendorLegitimateInterest(); @Override List<PublisherRestriction> getPublisherRestrictions(); @Override IntIterable getAllowedVendors(); @Override IntIterable getDisclosedVendors(); @Override IntIterable getPubPurposesLITransparency(); @Override IntIterable getCustomPurposesConsent(); @Override IntIterable getCustomPurposesLITransparency(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }### Answer:
@Test public void testDefaultSegmentType() { String base64CoreString = "COtybn4PA_zT4KjACBENAPCIAEBAAECAAIAAAAAAAAAA"; String publisherPurposes = "00000000"; base64CoreString += "." + base64FromBitString(publisherPurposes); TCString tcModel = parse(base64CoreString); assertFalse(tcModel.getCustomPurposesConsent().iterator().hasNext()); assertTrue(tcModel.getCustomPurposesConsent().isEmpty()); }