Examples for rendering pages with blocks depending on the response from sulu are included in tests directory:
tests/Behat/ApiResponseMock- Mocked sulu responsestests/Application/src/Renderer/BlockBlock rendererstests/Application/templates/bundles/BitBagSyliusSuluPlugin/shop/block-> Templates for blockstests/Application/src/Renderer/PagePage rendererstests/Application/templates/bundles/BitBagSyliusSuluPlugin/shop/page-> Templates for blockstests/Application/config/services_test.yaml-> Manual service declarations