protected void ConvertSupportedCardTest(Attachment attachment, Type cardType) { attachment = attachment.Anonymize(); Assert.IsNotType(cardType, attachment.Content); var converter = GetConverter(); Assert.True(converter.ConvertAttachmentContent(attachment)); Assert.IsType(cardType, attachment.Content); }