Creates a test node with PHP code in the body.
stdObject Node object.
function createNodeWithCode() {
return $this
->drupalCreateNode(array(
'body' => array(
LANGUAGE_NONE => array(
array(
'value' => '<?php print "SimpleTest PHP was executed!"; ?>',
),
),
),
));
}