Update MockQueryFactory.java