Spark mock