def METHOD_NAME(client_factory, client):
    """Tests the get method uses the latest checked health status by adding an unhealthy client.
    Prior to checking the health, the status should be SERVING.
    Checking will return UNKNOWN as a mock.
    After the status should be UNKNOWN
    """
    servicer = HealthCheckServicer(client_factory=client_factory)
    client_factory.get_client = MagicMock(return_value=client)
    client.check = MagicMock(
        return_value=health_pb2.HealthCheckResponse.ServingStatus.UNKNOWN
    )
    servicer = HealthCheckServicer(client_factory=client_factory)
    servicer.add_service("test_service", "test_endpoint", True)
    assert servicer.get() == health_pb2.HealthCheckResponse.ServingStatus.SERVING
    servicer.check()
    assert servicer.get() == health_pb2.HealthCheckResponse.ServingStatus.UNKNOWN