/Engine/Plugins/Tests/CQTest/Source/CQTest/Public/CQTest.h
The framework expects you to pass a 'new' command, which it will own and destroy.
void AddCommand ( [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [IAutomationLatentCommand](API\Runtime\Core\Misc\IAutomationLatentCommand) > Cmd )