Mocking inputs from APIs is actually great if someone besides the original developer picks up the codebase, whether from a system or even down to isolated function stubs. This is because it gives insight into the expected inputs the original developer(s) had been expecting and can elucidate the source under test.
Integration tests fill the hole you're pointing out. You can even have integration tests designed to validate the mock inputs in many cases.