Testing Mocks Mocks are generated using mockery. To regenerate gateway mock go to the gateway directory /pkg/flowkit/gateway and run the command: mockery --name=Gateway --output ../../../tests/mocks