func TestNewPropertyBase(t *testing.T) {
	require := require.New(t)
	p := NewPropertyBase(False, True)
	require.Len(p.Record.fields, 2)
	field, ok := p.GetField(FieldNameEnumerable)
	require.True(ok)
	require.Equal(False, field)
	field, ok = p.GetField(FieldNameConfigurable)
	require.True(ok)
	require.Equal(True, field)
}
TestNewPropertyBase ensures that a property
that has been created with NewPropertyBase
only has fields set that belong to both a
data and an accessor property descriptor.
These are the fields 'Enumerable' and 'Configurable'.
package lang
import (
	"testing"
	"github.com/stretchr/testify/require"
)
func TestNewProperty(t *testing.T) {
	require := require.New(t)
	p := NewProperty()
	require.Empty(p.Record.fields)
}