update mock adapter to meet new interface
0.0.3