corda / net.corda.testing.services / MockAttachmentStorage / hasAttachment

hasAttachment

fun hasAttachment(attachmentId: AttachmentId): Boolean

Searches for an attachment already in the store

Parameters

attachmentId - The attachment Id

Return
true if it's in there