Tests deleting a page display that has no path.
public function testDeleteWithNoPath() {
$this
->drupalGet('admin/structure/views/view/test_view');
$this
->drupalPost(NULL, array(), t('Add Page'));
$this
->drupalPost(NULL, array(), t('Delete Page'));
$this
->drupalPost(NULL, array(), t('Save'));
$this
->assertRaw(t('The view %view has been saved.', array(
'%view' => 'Test view',
)));
}