Stubbing out client tests