| 1 | <?php |
||
| 21 | class LegTest extends TestCase |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var Leg |
||
| 25 | */ |
||
| 26 | private $leg; |
||
| 27 | |||
| 28 | public function setUp() |
||
| 29 | { |
||
| 30 | |||
| 31 | $this->leg = new Leg( |
||
| 32 | 'Hongkong', |
||
| 33 | 'Hamburg', |
||
| 34 | new \DateTimeImmutable('2014-01-20 10:00:00'), |
||
| 35 | new \DateTimeImmutable('2014-02-02 18:00:00') |
||
| 36 | ); |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @test |
||
| 41 | */ |
||
| 42 | public function it_has_a_load_location() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @test |
||
| 49 | */ |
||
| 50 | public function it_has_an_unload_location() |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @test |
||
| 57 | */ |
||
| 58 | public function it_is_same_value_as_leg_with_same_properties() |
||
| 69 | } |
||
| 70 |