mocks client and server properties