MemoryDocument implements DatabaseDocument<MemoryType> { @Override public boolean matches(DatabaseQuery<MemoryType> query) { return matches((MemoryQuery) query); } MemoryDocument(); @Override Object putMetadataField(String key, Object value); @Override boolean matches(DatabaseQuery<MemoryType> query); boolean matches(MemoryQuery mq); @Override boolean touchedBy(String stage); @Override boolean fetchedBy(String stage); @Override void setID(DocumentID<MemoryType> id); @Override MemoryDocumentID getID(); @Override boolean removeFetchedBy(String stage); @Override boolean removeTouchedBy(String stage); @Override Object removeContentField(String key); @Override Set<String> getTouchedBy(); @Override Set<String> getFetchedBy(); @Override Date getTouchedTime(String stage); @Override Date getFetchedTime(String stage); @Override Date getCompletedTime(); @Override String getCompletedBy(); @Override Action getAction(); @Override void setAction(Action action); @Override Status getStatus(); @Override boolean hasContentField(String fieldName); @Override boolean hasMetadataField(String fieldName); @Override Object putContentField(String fieldName, Object value); @Override Object getContentField(String fieldName); @Override Object getMetadataField(String key); @Override Map<String, Object> getMetadataMap(); @Override Map<String, Object> getContentMap(); @Override void addError(String from, Throwable t); @Override boolean hasErrors(); @Override Set<String> getContentFields(); @Override void putAll(Document<?> d); @Override boolean isEqual(Document<?> d); @Override void clear(); @Override void fromJson(String json); @Override String toJson(); @Override String contentFieldsToJson(Iterable<String> contentFields); @Override String metadataFieldsToJson(Iterable<String> metadataFields); void markSynced(); Set<String> getTouchedContent(); Collection<? extends String> getTouchedMetadata(); boolean isTouchedAction(); @Override void setFetchedBy(String stage, Date date); @Override void setTouchedBy(String stage, Date date); @Override MemoryDocument copy();  }
@Test @Repeat(100) public void testBlank() { if(!TestTools.getRandomDocument().matches(new MemoryQuery())) { fail("Document did not match the empty query"); } }