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

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

/**
 * App\Model\Table\HospitalizationsTable Test Case
 */
class HospitalizationsTableTest extends TestCase
{

    /**
     * Test subject
     *
     * @var \App\Model\Table\HospitalizationsTable
     */
    public $Hospitalizations;

    /**
     * Fixtures
     *
     * @var array
     */
    public $fixtures = [
        'app.hospitalizations',
        'app.patients',
        'app.allergies',
        'app.diagnostics',
        'app.glasgow_coma_scales',
        'app.responsibles',
        'app.telephones',
        'app.responsibles_telephones',
        'app.screenings',
        'app.patients_telephones',
        'app.units',
        'app.groups',
        'app.health_insurance_plans',
        'app.origins',
        'app.signs',
        'app.goals',
        'app.goals_units',
        'app.users',
        'app.roles',
        'app.log',
        'app.professionals',
        'app.bundle',
        'app.medical_opinion_answer',
        'app.medical_opinion_requests',
        'app.professional_sectors',
        'app.specialties',
        'app.professionals_specialties',
        'app.areas_of_occupation',
        'app.areas_of_occupation_professionals',
        'app.units_users',
        'app.patients_units',
        'app.cardiac_surgery_checklists',
        'app.daily_safety_checklists',
        'app.fugulin_and_braden',
        'app.infections',
        'app.initial_nutritional_assessment',
        'app.medical_bulletins',
        'app.prescriptions'
    ];

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

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

        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.');
    }
}
