Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package nucleus
import (
"github.com/openconfig/ygot/ygot"
log "github.com/sirupsen/logrus"
"testing"
)
func TestDevice_Add(t *testing.T) {
type fields struct {
Device ygot.GoStruct
SBI SouthboundInterface
Config DeviceConfig
Transport Transport
}
type args struct {
resp interface{}
}
tests := []struct {
name string
fields fields
args args
}{
// TODO: Add test cases.
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
d := Device{
Device: tt.fields.Device,
SBI: tt.fields.SBI,
Config: tt.fields.Config,
Transport: tt.fields.Transport,
}
log.Debug(d.SBI.SbiIdentifier())
})
}
}