Complete worked example
json
{
"cases": [
{
"saved": false,
"action": "save",
"next": true
},
{
"saved": true,
"action": "save",
"next": true
},
{
"saved": true,
"action": "remove",
"next": false
},
{
"saved": false,
"action": "remove",
"next": false
}
]
}- Reasoning
- Each row defines one command’s effect from an explicit state.