Created
November 22, 2021 15:04
-
-
Save JohanneA/a4113a7fcf0de0ef612072f8e58ddaf8 to your computer and use it in GitHub Desktop.
Kotlin test DSL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun shipmentWithOneBoxWithOneProduct(): Shipment = buildShipment { | |
id = 1L | |
buildBox { | |
id = 1L | |
buildProduct { | |
id = 1L | |
name = "Pink Fuzzy Jacket" | |
} | |
} | |
}.build() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment