The Explainable::getCommandDocument() is used by the explain operation to get a transformed version of the command to explain. The ExplainFunctionalTest ensure the explain commands are accepted and executed by the server, but that does not guarantee that all the options are correctly formatted and sent to the server.
This issue is to create unit tests on each implementation of Explainable::getCommandDocument() to validate the generated command.
- depends on
-
PHPLIB-1162 Remove unused $server argument in Explainable::getCommandDocument
- Closed
- is testing
-
PHPLIB-802 Send readConcern but not writeConcern to explain commands
- Closed