This same mock is created many times in the connection test, it might be worthwhile having a method to generate this mock.