| 1 | <?php |
||
| 13 | class TimeFrameTest extends \PHPUnit_Framework_TestCase |
||
| 14 | { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @expectedException \InvalidArgumentException |
||
| 18 | */ |
||
| 19 | public function testConstructor() |
||
| 23 | |||
| 24 | |||
| 25 | /** |
||
| 26 | * A data provider can't be used since it's evaluated long before the test method is run, scewing the timestamps |
||
| 27 | */ |
||
| 28 | public function testGetTimestamp() |
||
| 36 | |||
| 37 | |||
| 38 | /** |
||
| 39 | * @return array |
||
| 40 | */ |
||
| 41 | public function timestampProvider() |
||
| 50 | |||
| 51 | } |
||
| 52 |