mock-adapter