Files
2018-11-26 22:55:00 +01:00

12 lines
241 B
Go

package mocks
// MockSocket is a mock implementation of Socket
// used in the test suite
type MockSocket struct{}
// WriteJSON always returns nil
// used in the test suite
func (s MockSocket) WriteJSON(i interface{}) error {
return nil
}