extracts interfaces from MockService