func (tc *mailboxTestContext) MakeMailbox(name string, emails []uint64, nextID uint64) Mailbox { mb, err := newMailbox(mem.NewFolder(name), make(map[string]string)) if err != nil { fmt.Println("Err constructing mailbox: ", err) return nil } return PrepareTestMailbox(mb, emails, nextID) }
func (tc *memFolderTestContext) New() store.Folder { return mem.NewFolder("Test inbox") }