package parser import ( "encoding/json" "testing" ) func TestParser(t *testing.T) { a := NewADParser() data, err := json.Marshal(a) if err != nil { t.Error(err) } t.Error(string(data)) }