['token_format'=>':custom:jS F g:ia e O','date_format'=>'custom','custom'=>'jS F g:ia e O'],
);
foreach($test_casesas$test_data){
// Edit the node and set the body tokens to use the format being tested.
$edit=[
'body[0][value]'=>'Publish on: [node:scheduler-publish'.$test_data['token_format'].']. Unpublish on: [node:scheduler-unpublish'.$test_data['token_format'].'].',
];
$this->drupalPostForm('node/'.$node->id().'/edit',$edit,t('Save and keep unpublished'));
$this->drupalGet('node/'.$node->id());
// Refresh the node and get the body output value.