DummyGateway: Fix code to access method correctly