private PutDocumentMessage newPutDocument(String documentId) {
        return new PutDocumentMessage(new DocumentPut(new Document(manager.getDocumentType("testdoc"),
                                                                   new DocumentId(documentId))));
    }
Ensures that the given number of select passes on the given frame produces an expected list of recipients.

@param frame      The frame to select on.
@param numSelects The number of selects to perform.
@param expected   The list of expected recipients.
documentapi/src/test/java/com/yahoo/documentapi/messagebus/protocol/test/PolicyTestCase.java