You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: policy_test.go
    path of file: ./repos/bk-cmdb/src/scene_server/auth_server/sdk/operator
    
    the code of the file until where you have to start completion: /*
 * Tencent is pleased to support the open source community by making 蓝鲸 available.
 * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
 * Licensed under the MIT License (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 * http://opensource.org/licenses/MIT
 * Unless required by applicable law or agreed to in writing, 
    
func TestPolicy_UnmarshalJSON(t *testing.T) {
	src := `
{
    "op":"AND",
    "content":[
        {
            "op":"eq",
            "field":"host.os",
            "value":"linux"
        },
        {
            "op":"OR",
            "content":[
                {
                    "op":"neq",
                    "field":"host.os",
                    "value":"windows"
                }
            ]
        }
    ]
}
`
	p := new(Policy)
	if err := json.Unmarshal([]byte(src), p); err != nil {
		t.Fatal(err)
		return
	}

	if p.Operator != And {
		t.Fatal("parse AND oper failed")
	}

	content, ok := p.Element.(*Content)
	if !ok {
		t.Fatal("parse Content failed")
	}

	if len(content.Content) != 2 {
		t.Fatal("parse Content, but got invalid length")
	}

	// check element 0, eq operator
	if content.Content[0].Operator != "eq" {
		t.Fatal("parse content.eq operator failed")
	}

	eqPolicy, ok := content.Content[0].Element.(*FieldValue)
	if !ok {
		t.Fatal("parse content.FieldValue failed")
	}

	if eqPolicy.Field.Resource != "host" ||
		eqPolicy.Field.Attribute != "os" ||
		eqPolicy.Value != "linux" {
		t.Fatal("parse eq policy failed")
	}

	// check element 1, neq operator
	if content.Content[1].Operator != Or {
		t.Fatal("parse or operator failed")
	}

	contentOR, ok := content.Content[1].Element.(*Content)
	if !ok {
		t.Fatal("parse content OR failed")
	}

	if len(contentOR.Content) != 1 {
		t.Fatal("parse content OR length failed")
	}

	if contentOR.Content[0].Operator != "neq" {
		t.Fatal("parse content.neq operator failed")
	}

	neqPolicy, ok := contentOR.Content[0].Element.(*FieldValue)
	if !ok {
		t.Fatal("parse content.FieldValue failed")
	}

	if neqPolicy.Field.Resource != "host" ||
		neqPolicy.Field.Attribute != "os" ||
		neqPolicy.Value != "windows" {
		t.Fatal("parse neq policy failed")
	}

}