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