public it_should_have_a_string_representation ( ) |
function it_should_have_a_string_representation()
{
$this->setDays(5);
$this->setHours(7);
$this->setMinutes(8);
$this->setSeconds(10);
$this->__toString()->shouldBeEqualTo('5 day(s) 7 hour(s) 8 minute(s) 10 second(s)');
}