123456789101112131415161718 |
- Scenario 'prosume'
- Scenario 'simple'
- rule check version 1.0.0
-
- Given I am 'Bob'
- and I have a valid 'public key' from 'Alice'
- and I have a valid 'booking'
- and I have a valid 'asset'
-
- When I verify the 'booking' is signed by 'Alice'
- and I set 'offer' to '100' as 'number'
- and number 'quantity' is more than 'offer'
- and I verify 'kind' is equal to 'kWh'
- and I set 'price' to '10' as 'number'
- and I create the order for '100'
- and I create the signature of 'order'
-
- Then print my 'order'
|