Fix second instantiation of mock adapter