testing – What is the quickest way to dump a node to insert into a test case?


Is there a script, console, drush command etc that can dump a node in the format needed to create a test case?

How can I rapidly fill out

$this->drupalCreateContentType(('type' => 'bond',
  'name' => 'Bond',
  'field_bond_amt_issued' => '1000000000',
));