func TestGetBooleanInvalidNull(t *testing.T) {
	client := newDictionaryClient()
	resp, err := client.GetBooleanInvalidNull(context.Background(), nil)
	if err != nil {
		t.Fatal(err)
	}
	if r := cmp.Diff(resp.Value, map[string]*bool{
		"0": to.BoolPtr(true),
		"1": nil,
		"2": to.BoolPtr(false),
	}); r != "" {
		t.Fatal(r)
	}
}
GetBooleanInvalidNull - Get boolean dictionary value {"0": true, "1": null, "2": false }
package dictionarygroup
import (
	"context"
	"net/http"
	"reflect"
	"testing"
	"time"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/google/go-cmp/cmp"
)
func newDictionaryClient() *DictionaryClient {
	return NewDictionaryClient(NewDefaultConnection(nil))
}
func TestGetArrayEmpty(t *testing.T) {
	client := newDictionaryClient()
	resp, err := client.GetArrayEmpty(context.Background(), nil)
	if err != nil {
		t.Fatal(err)
	}
	if r := cmp.Diff(len(resp.Value), 0); r != "" {
		t.Fatal(r)
	}
}
func TestGetArrayItemEmpty(t *testing.T) {
	client := newDictionaryClient()
	resp, err := client.GetArrayItemEmpty(context.Background(), nil)
	if err != nil {
		t.Fatal(err)
	}
	if r := cmp.Diff(resp.Value, map[string][]*string{
		"0": to.StringPtrArray("1", "2", "3"),
		"1": {},
		"2": to.StringPtrArray("7", "8", "9"),
	}); r != "" {
		t.Fatal(r)
	}
}
func TestGetArrayItemNull(t *testing.T) {
	client := newDictionaryClient()
	resp, err := client.GetArrayItemNull(context.Background(), nil)
	if err != nil {
		t.Fatal(err)
	}
	if r := cmp.Diff(resp.Value, map[string][]*string{
		"0": to.StringPtrArray("1", "2", "3"),
		"1": nil,
		"2": to.StringPtrArray("7", "8", "9"),
	}); r != "" {
		t.Fatal(r)
	}
}
func TestGetArrayNull(t *testing.T) {
	client := newDictionaryClient()
	resp, err := client.GetArrayNull(context.Background(), nil)
	if err != nil {
		t.Fatal(err)
	}
	if resp.Value != nil {
		t.Fatal("expected nil dictionary")
	}
}
func TestGetArrayValid(t *testing.T) {
	client := newDictionaryClient()
	resp, err := client.GetArrayValid(context.Background(), nil)
	if err != nil {
		t.Fatal(err)
	}
	if r := cmp.Diff(resp.Value, map[string][]*string{
		"0": to.StringPtrArray("1", "2", "3"),
		"1": to.StringPtrArray("4", "5", "6"),
		"2": to.StringPtrArray("7", "8", "9"),
	}); r != "" {
		t.Fatal(r)
	}
}
func TestGetBase64URL(t *testing.T) {
	t.Skip("unmarshalling fails")
	client := newDictionaryClient()
	resp, err := client.GetBase64URL(context.Background(), nil)
	if err != nil {
		t.Fatal(err)
	}
	if r := cmp.Diff(resp.Value, map[string][]byte{
		"0": {},
		"1": {},
		"2": {},
	}); r != "" {
		t.Fatal(r)
	}
}