function testHideForTemplate()
 {
     $mb = new CMB_Meta_Box(array('title' => 'Test Meta Box', 'pages' => 'post', 'fields' => array(array('id' => 'test', 'name' => 'Test', 'type' => 'text')), 'hide_on' => array('page-template' => 'test.php')));
     $this->assertTrue($mb->hide_for_page_template(true));
     $_GET['post'] = $this->post->ID;
     $this->assertFalse($mb->hide_for_page_template(true));
     $_GET['post'] = 3;
     $this->assertTrue($mb->hide_for_page_template(true));
     unset($_GET['post']);
 }