/** * Tests Target::getSize * * @expectedException \phpbu\App\Exception */ public function testGetSizeFail() { $path = '.'; $filename = 'foo.txt'; $target = new Target($path, $filename, strtotime('2014-12-01 04:30:57')); $target->getSize(); $this->assertFalse(true, 'exception should be thrown'); }