+ assert.equal( html, '<p><b>Hello world</b></p>', 'Parse wikitext by string' );
+ } );
+
+ api.parse( {
+ toString: function () {
+ return '\'\'\'Hello world\'\'\'';
+ }
+ } ).done( function ( html ) {
+ assert.equal( html, '<p><b>Hello world</b></p>', 'Parse wikitext by toString object' );