Refactor remote development mocks in agent
MR: Pending
Description
Currently, we use hand-generated mocks in the remote development module in the GitLab Kubernetes agent for testing purposes. These are difficult to maintain and could lead to flaky tests. we should look into alternatives that rely on code generation from interfaces, where we can explitily set what calls we expect to receive and desired behaviour.