Refactored DummyApiResponder to satisfy PMD