eidng8/sttbot

View on GitHub
tests/Wiki/Models/SkillsTest.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/*
 * @author  eidng8
 * @license https://creativecommons.org/licenses/by-sa/4.0/
 * @link    https://github.com/eidng8/stthb
 */

namespace eidng8\Tests\Wiki\Models;

use eidng8\Wiki\Models\Skills;
use PHPUnit\Framework\TestCase as TestCaseBase;

class SkillsTest extends TestCaseBase
{
    public function testOffsetExists()
    {
        $skills = new Skills();
        $this->assertTrue(empty($skills['not exist']));
    }//end testOffsetExists()

    public function testOffsetGet()
    {
        $skills = new Skills();
        $this->assertNull($skills['not exist']);
    }//end testOffsetExists()
}//end class