protected function tearDown()
 {
     parent::tearDown();
     if ($this->model->id) {
         $this->model->delete();
     }
 }
 protected function tearDown()
 {
     parent::tearDown();
     foreach ($this->models as $model) {
         $model->delete();
     }
     $this->models = [];
 }
 protected function setUp()
 {
     parent::setUp();
     $config = array('load' => array(__DIR__ . '/../../src/Bazalt/Auth/Webservice/*.php'));
     $this->app = new Tonic\Application($config);
 }