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

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

/**
 * App\Model\Table\ProfessionalsTable Test Case
 */
class ProfessionalsTableTest extends TestCase
{

    /**
     * Test subject
     *
     * @var \App\Model\Table\ProfessionalsTable
     */
    public $Professionals;

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

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

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

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