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: feature_test.go
    path of file: ./repos/rancher/pkg/api/norman/customization/feature
    
    the code of the file until where you have to start completion: package feature

import (
	"testing"

	"github.com/rancher/norman/types"
	"github.com/stretchr/testify/assert"
)

// the effective value of a feature should be value if one is assigned, otherwise
// it should reflect the default value
func TestFormatter(t *testing.T) {
    
func TestFormatter(t *testing.T) {
	assert := assert.New(t)

	// ensure value is set to default when it has not been set by user
	testResource := &types.RawResource{
		Values: map[string]interface{}{
			"status": map[string]interface{}{
				"default": true,
			},
		},
	}

	assert.Equal(true, getEffectiveValue(testResource))

	// ensure value is not set to default when it has been set by user
	testResource.Values["value"] = false

	assert.Equal(false, getEffectiveValue(testResource))
}