def METHOD_NAME(self):
    """Test initializer"""
    credential_offer = CredentialOffer(
        comment="shaken, not stirred",
        credential_preview=self.preview,
        offers_attach=[
            AttachDecorator.data_base64(
                mapping=self.indy_offer,
                ident=ATTACH_DECO_IDS[CREDENTIAL_OFFER],
            )
        ],
    )
    assert credential_offer.credential_preview == self.preview
    assert credential_offer.offers_attach[0].content == self.indy_offer
    assert credential_offer.indy_offer(0) == self.indy_offer