func TestDocumentGetStringReturnsAnEmptyStringWhenTheKeyIsNotPresent(t *testing.T) { doc := dynago.Document{} assert.Equal(t, "", doc.GetString("name")) }
func TestDocumentGetStringReturnsTheUnderlyingValueAsAString(t *testing.T) { doc := dynago.Document{"name": "Timmy Testerson"} assert.Equal(t, "Timmy Testerson", doc.GetString("name")) }