def _mock_evaluate(self):
        """
        Create a mock `Evaluate` class, with all methods that access the
        influxdb database stubbed out.

        Returns:
            Evaluate: An instance of the Evaluate class.
        """
        evaluate = Evaluate(self.PIT, self.TP, self.VERSION,
                            self._get_tmp_dir(), False, False)

        evaluate.query_influx = MagicMock()
        evaluate.query_influx = InfluxDBMock.query_influx

        return evaluate