### Question:
TCStringV1 implements TCString { @Override public int getVersion() { return bbv.readBits6(V1_VERSION); } private  TCStringV1(BitReader bitVector); static TCStringV1 fromBitVector(BitReader bitVector); @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 getVendorConsent(); @Override boolean getDefaultVendorConsent(); @Override IntIterable getPurposesConsent(); @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 getPubPurposesConsent(); @Override IntIterable getPubPurposesLITransparency(); @Override IntIterable getCustomPurposesConsent(); @Override IntIterable getCustomPurposesLITransparency(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }### Answer:
@Test public void testDecodeCanDetectVersion1() { TCString model = TCString.decode("BObdrPUOevsguAfDqFENCNAAAAAmeAAA"); assertTrue(model instanceof TCStringV1); assertEquals(1, model.getVersion()); }