private void basicExpects(Document d, Key key, Map.Entry<Key,Value> entry) throws MarkingFunctions.Exception {
d.put("field1", new Numeric("5", key, true));
AbstractMap.SimpleEntry<Key,Document> documentEntry = new AbstractMap.SimpleEntry<>(key, d);
SimpleField simpleField = new SimpleField();
SimpleEvent simpleEvent = new SimpleEvent();
PowerMock.mockStatic(DocumentSerialization.class);
EasyMock.expect(DocumentSerialization.getDocumentDeserializer(mockQuery)).andReturn(mockDeserializer);
EasyMock.expect(mockLogic.getTableName()).andReturn("table1");
EasyMock.expect(mockQuery.getQueryAuthorizations()).andReturn("A,B,C");
EasyMock.expect(mockQuery.findParameter("log.timing.details")).andReturn(new QueryImpl.Parameter("", ""));
EasyMock.expect(mockDeserializer.apply(entry)).andReturn(documentEntry);
EasyMock.expect(mockMarkingFunctions.translateFromColumnVisibility(key.getColumnVisibilityParsed())).andReturn(Collections.EMPTY_MAP);
EasyMock.expect(mockResponseFactory.getField()).andReturn(simpleField);
EasyMock.expect(mockResponseFactory.getEvent()).andReturn(simpleEvent);
}