nl_tokens: helper we can call
pl_tokens: function ensureProperties ( str ) { str = str || '' ; t . ok ( hasPropertyDefinition ( view , 'value' ) , 'has `value` property' + str ) ; t . equal ( typeof view . name , 'string' , 'has `name` property that is a string' + str ) ; t . notEqual ( view . <mask> , '' , '`name` property should not be empty string' + str ) ; t . ok ( isFunction ( view . setValue ) , 'has `setValue` method' + str ) ; t . equal ( typeof view . valid , 'boolean' , 'has `valid` property that is a boolean' + str ) ; t . equal ( parent , view . parent , 'has same `parent` property' + str ) ; }