12345678910111213141516171819 |
- # Process: Check -> Booking -> Order -> Confirmation -> Settlement
-
- Scenario 'prosume'
- Scenario 'simple'
- Rule check version 1.0.0
-
- Given I am 'Alice'
- and I have my valid 'keypair'
- and I have a valid 'asset'
- and I have a 'quantity' inside 'asset'
-
- When I set 'offer' to '100' as 'number'
- and number 'quantity' is more than 'offer'
- and I verify 'type' is equal to 'kWh'
- and I set 'price' to '10' as 'number'
- and I create the booking for '100'
- and I create the signature of 'booking'
-
- Then print my 'booking'
|