def METHOD_NAME(command_data: GPGEncryptCommandData, secret: Mapping[str, str]):
    secret_reader = MagicMock(spec=SecretReader)
    secret_reader.read_all = MagicMock()
    secret_reader.read_all.side_effect = [secret]
    command = GPGEncryptCommand.create(
        command_data=command_data,
        secret_reader=secret_reader,
    )
    return command