nl_tokens: Compares two objects .
pl_tokens: function ( expected , <mask> , msg ) { var assert = bender . assert ; assert . isTypeOf ( 'object' , expected , 'Expected is not an object' ) ; assert . isTypeOf ( 'object' , actual , 'Actual is not an object' ) ; // Simply convert to JSON strings for a good diff in case of fails. expected = JSON . stringify ( objectHelpers . sortObjectProperties ( expected ) ) ; actual = JSON . stringify ( objectHelpers . sortObjectProperties ( actual ) ) ; this . js ( expected , actual , msg ) ; }