There are cases in which the document can contain an array. Mongo handles it and so should the mock framework.