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