Last active
November 22, 2021 14:57
-
-
Save JohanneA/2949e8a1fb450d66b022fb898ced972b 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 getShipmentWithOneBox(): Shipment { | |
return Shipment( | |
id = 1L, | |
boxes = listOf( | |
Box( | |
id = 1L, | |
contents = listOf( | |
Product(id = 1L, name = "Pink Fuzzy Jacket")) | |
) | |
) | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment