<?php
namespace App\Test\TestCase\Model\Table;

use App\Model\Table\OriginsTable;
use Cake\ORM\TableRegistry;
use Cake\TestSuite\TestCase;

/**
 * App\Model\Table\OriginsTable Test Case
 */
class OriginsTableTest extends TestCase
{

    /**
     * Test subject
     *
     * @var \App\Model\Table\OriginsTable
     */
    public $Origins;

    /**
     * Fixtures
     *
     * @var array
     */
    public $fixtures = [
        'app.origins',
        'app.units',
        'app.groups',
        'app.health_insurance_plans',
        'app.hospitalizations',
        'app.signs',
        'app.goals',
        'app.goals_units',
        'app.users',
        'app.roles',
        'app.log',
        'app.units_users'
    ];

    /**
     * setUp method
     *
     * @return void
     */
    public function setUp()
    {
        parent::setUp();
        $config = TableRegistry::exists('Origins') ? [] : ['className' => 'App\Model\Table\OriginsTable'];
        $this->Origins = TableRegistry::get('Origins', $config);
    }

    /**
     * tearDown method
     *
     * @return void
     */
    public function tearDown()
    {
        unset($this->Origins);

        parent::tearDown();
    }

    /**
     * Test initialize method
     *
     * @return void
     */
    public function testInitialize()
    {
        $this->markTestIncomplete('Not implemented yet.');
    }

    /**
     * Test validationDefault method
     *
     * @return void
     */
    public function testValidationDefault()
    {
        $this->markTestIncomplete('Not implemented yet.');
    }

    /**
     * Test buildRules method
     *
     * @return void
     */
    public function testBuildRules()
    {
        $this->markTestIncomplete('Not implemented yet.');
    }
}
