public function testGetDiffMessageThrowsAnExceptionIfTheDiffIsEmpty() { $this->setExpectedException('InvalidArgumentException'); $this->formatter->getDiffMessage(0, true, 'day'); }