| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | function its_properties_can_be_read() |
||
| 19 | { |
||
| 20 | $this->beConstructedWith( |
||
| 21 | array('en-US' => 'test'), |
||
| 22 | array('en-US' => 'test'), |
||
| 23 | 'http://id.tincanapi.com/activitytype/unit-test' |
||
| 24 | ); |
||
| 25 | |||
| 26 | $name = $this->getName(); |
||
| 27 | $name->shouldBeArray(); |
||
| 28 | $name->shouldHaveCount(1); |
||
| 29 | $name->shouldHaveKeyWithValue('en-US', 'test'); |
||
| 30 | |||
| 31 | $description = $this->getName(); |
||
| 32 | $description->shouldBeArray(); |
||
| 33 | $description->shouldHaveCount(1); |
||
| 34 | $description->shouldHaveKeyWithValue('en-US', 'test'); |
||
| 35 | |||
| 36 | $this->getType()->shouldReturn('http://id.tincanapi.com/activitytype/unit-test'); |
||
| 37 | } |
||
| 38 | |||
| 46 |