docs
4.12
customSourceSet
docs
/
net.corda.testing.internal
/
fakeAttachment
fake
Attachment
fun
fakeAttachment
(
filePath
:
String
,
content
:
String
,
manifestAttributes
:
Map
<
String
,
String
>
=
emptyMap()
)
:
ByteArray
Convenience method for creating a fake attachment containing a file with some content.
fun
fakeAttachment
(
filePath1
:
String
,
content1
:
String
,
filePath2
:
String
,
content2
:
String
,
manifestAttributes
:
Map
<
String
,
String
>
=
emptyMap()
)
:
ByteArray