func TestClaimsIdentifier(t *testing.T) {
	assert := audit.NewTestingAssertion(t, true)
	assert.Logf("testing claim \"jti\"")
	identifier := "foo"
	claims := jwt.NewClaims()
	jti, ok := claims.Identifier()
	assert.False(ok)
	none := claims.SetIdentifier(identifier)
	assert.Equal(none, "")
	jti, ok = claims.Identifier()
	assert.Equal(jti, identifier)
	assert.True(ok)
	old := claims.DeleteIdentifier()
	assert.Equal(old, jti)
	_, ok = claims.Identifier()
	assert.False(ok)
}
// TestClaimsIdentifier checks the setting, getting, and
// deleting of the identifier claim.
TestClaimsIdentifier checks the setting, getting, and
deleting of the identifier claim.
// TestClaimsIdentifier checks the setting getting and // deleting of the identifier claim .
func TestClaimsIdentifier(t *testing.T) {
	assert := audit.NewTestingAssertion(t, true)
	assert.Logf("testing claim \"jti\"")
	identifier := "foo"
	claims := jwt.NewClaims()
	jti, ok := claims.Identifier()
	assert.False(ok)
	none := claims.SetIdentifier(identifier)
	assert.Equal(none, "")
	jti, ok = claims.Identifier()
	assert.Equal(jti, identifier)
	assert.True(ok)
	old := claims.DeleteIdentifier()
	assert.Equal(old, jti)
	_, ok = claims.Identifier()
	assert.False(ok)
}
func TestClaimsIdentifier ( t * testing . T ) { assert := audit . NewTestingAssertion ( t , true ) assert . Logf ( " \" \" " ) identifier := " " claims := jwt . NewClaims ( ) jti , ok := claims . Identifier ( ) assert . False ( ok ) none := claims . SetIdentifier ( identifier ) assert . Equal ( none , " " ) jti , ok = claims . Identifier ( ) assert . Equal ( jti , identifier ) assert . True ( ok ) old := claims . DeleteIdentifier ( ) assert . Equal ( old , jti ) _ , ok = claims . Identifier ( ) assert . False ( ok ) }
TestClaimsIdentifier checks the setting, getting, and
deleting of the identifier claim.
TestClaimsIdentifier checks the setting getting and deleting of the identifier claim .