mageekguy\atoum\tests\units\asserters\dateTime::testIsInMonth PHP Метод

testIsInMonth() публичный Метод

public testIsInMonth ( )
        public function testIsInMonth()
        {
            $this->if($this->newTestedInstance)->then->exception(function ($test) {
                $test->testedInstance->isInMonth(rand(0, PHP_INT_MAX));
            })->isInstanceOf('mageekguy\\atoum\\exceptions\\runtime')->hasMessage('The method ' . $this->getTestedClassName() . '::isInMonth is deprecated, please use ' . $this->getTestedClassName() . '::hasMonth instead');
        }