Skip to content

Instantly share code, notes, and snippets.

@automationhacks
Created February 22, 2020 03:42
Show Gist options
  • Save automationhacks/b092015a4c9f89232cd39c6da7403e8f to your computer and use it in GitHub Desktop.
Save automationhacks/b092015a4c9f89232cd39c6da7403e8f to your computer and use it in GitHub Desktop.
@BeforeMethod
fun givenBookingIsCreated(testParams: Array<Any>) {
val vehicleType = testParams[0] as VehicleType
orderId = booking.makeBooking(vehicleType)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment