Query/Policy

Query/Policy is successful when:

  • always (an error is never returned)

Query/Policy has the following outcomes:

  • query response returned

An error is never returned

never error

Given policy

{
  "signedBlocksWindow": 100
}

When query policy

Then expect no error.

never error with zero value

When query policy

Then expect no error.

The query response is returned

query response returned

Given policy

{
  "signedBlocksWindow": 100
}

When query policy

Then expect response

{
  "signedBlocksWindow": 100
}

query response returned with zero value

Given policy

{
  "signedBlocksWindow": 0
}

When query policy

Then expect response

{
  "signedBlocksWindow": 0
}