title: How to load Model in Cakephp directly
body: <p>before testing all my models in Cakephp app using <code>./cake test app AllModel</code> I have to do some manipulations. I use Cakephp 2.9.7. This function is declared in <code>AllModelTest.php</code> which looks the next way:</p>
  
  <pre><code>class AllModelTest extends CakeTestSuite {
      public static function suite() {        
          $suite = new CakeTestSuite('All model tests');
          $suite-&gt;addTestDirectory(TESTS . 'Case/Model');
          return $suite;
      }
  }
  </code></pre>
  
  <p>How can I access my Model and do some manipulations direct from this file ? I tried <code>App::uses('MyModel', 'Model');</code>  - that is not working. <code>$this</code> I can't use, because it gives me error <code>PHP Fatal error:  Using $this when not in object context in path....</code></p>