Added mock adapter (to simplify unit tests).