forked from ebhomengo/niki
1
0
Fork 0
niki/delivery/http_server/end2end/setup/sms_adapter.go

14 lines
205 B
Go
Raw Normal View History

package setup
type TestSmsAdapter struct {
Inbox string
}
func NewTestSmsAdapter() *TestSmsAdapter {
return &TestSmsAdapter{}
}
func (s *TestSmsAdapter) Send(_, message string) {
s.Inbox = message
}