lego/providers/dns/exec/log_mock_test.go
Ludovic Fernandez 219222fdda
Use canonical imports (#822)
* fix: challenge are not required for revoke.
2019-03-11 16:54:35 +01:00

31 lines
634 B
Go

package exec // import "github.com/xenolf/lego/providers/dns/exec"
import "github.com/stretchr/testify/mock"
type LogRecorder struct {
mock.Mock
}
func (*LogRecorder) Fatal(args ...interface{}) {
panic("implement me")
}
func (*LogRecorder) Fatalln(args ...interface{}) {
panic("implement me")
}
func (*LogRecorder) Fatalf(format string, args ...interface{}) {
panic("implement me")
}
func (*LogRecorder) Print(args ...interface{}) {
panic("implement me")
}
func (l *LogRecorder) Println(args ...interface{}) {
l.Called(args...)
}
func (*LogRecorder) Printf(format string, args ...interface{}) {
panic("implement me")
}