func (tcf *textConFaker) GetConversation(includeGreeting bool) string {
	conv := ""
	inSequence := false
	input := strings.Split(tcf.GetInput(), tcf.delim)
	ri := 0
	if includeGreeting {
		conv += fmt.Sprintf("    %-55s << %-50s\n", "(server greeting)", tcf.responses[0])
		ri = 1
	}
	for i, query := range input {
		if query == "." {
			inSequence = false
		}
		resp := ""
		if len(tcf.responses) > ri && !inSequence {
			resp = tcf.responses[ri]
		}
		conv += fmt.Sprintf("  #%2d >> %50s << %-50s\n", i, query, resp)
		for len(resp) > 3 && resp[3] == '-' {
			ri++
			resp = tcf.responses[ri]
			conv += fmt.Sprintf("         %50s << %-50s\n", " ", resp)
		}
		if !inSequence {
			ri++
		}
		if len(resp) > 0 && resp[0] == '3' {
			inSequence = true
		}
	}
	return conv
}
GetConversation returns the input and output streams as a conversation
package testutils
import (
	"bufio"
	"bytes"
	"fmt"
	"net/textproto"
	"strings"
)
type textConFaker struct {
	inputBuffer  *bytes.Buffer
	inputWriter  *bufio.Writer
	outputReader *bufio.Reader
	responses    []string
	delim        string
}
func (tcf *textConFaker) GetInput() string {
	_ = tcf.inputWriter.Flush()
	return tcf.inputBuffer.String()
}