package status

import (
	"encoding/json"
	"fmt"
	"testing"
)

func TestGetNetworkInfo(t *testing.T) {

	networkInfo, err := GetNetworkStatus()
	if err != nil {
		return
	}

	marshalIndent, err := json.MarshalIndent(networkInfo, "", "  ")
	if err != nil {
		fmt.Printf("error")
	}

	fmt.Println(string(marshalIndent))
}
