Fixes #149
[akelos.git] / lib / utils / generators / model / templates / unit_test.tpl
blob032f3cf8a1bc515ecb5db0cb6abf2d38acc4689e
1 <?php  echo '<?php'?>
4 // Unit test for <?php  echo $class_name?>. (Testing docs at http://wiki.akelos.org/testing-guide)
5 // Run this test with the command
6 //  ./script/test model <?php  echo $class_name?>
9 class <?php  echo $class_name?>TestCase extends  AkUnitTest
12     function test_setup()
13     {
14         $this->installAndIncludeModels('<?php  echo $class_name?>');
15     }
16     
17     function test_should_be_added()
18     {
19         // An instance of <?php  echo $class_name?> model is available at 
20         // $this-><?php  echo $class_name; ?>
21         
22         $this->assertTrue(false);
23     }