| Conditions | 1 |
| Paths | 1 |
| Total Lines | 23 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | public function testRegister( ) { |
||
| 36 | |||
| 37 | $this->propertyRegistry->expects( $this->exactly( 4 ) ) |
||
| 38 | ->method( 'registerProperty' ) |
||
| 39 | ->withConsecutive( |
||
| 40 | [ $this->equalTo('__sar_approved_rev') ], |
||
| 41 | [ $this->equalTo('__sar_approved_by') ], |
||
| 42 | [ $this->equalTo('__sar_approved_date') ], |
||
| 43 | [ $this->equalTo('__sar_approved_status') ] ); |
||
| 44 | |||
| 45 | $this->propertyRegistry->expects( $this->exactly( 4 ) ) |
||
| 46 | ->method( 'registerPropertyAlias' ); |
||
| 47 | |||
| 48 | $this->propertyRegistry->expects( $this->exactly( 4 ) ) |
||
| 49 | ->method( 'registerPropertyAliasByMsgKey' ); |
||
| 50 | |||
| 51 | $this->propertyRegistry->expects( $this->exactly( 4 ) ) |
||
| 52 | ->method( 'registerPropertyDescriptionMsgKeyById' ); |
||
| 53 | |||
| 54 | $instance = new PropertyRegistry(); |
||
| 55 | |||
| 56 | $instance->register( $this->propertyRegistry ); |
||
| 57 | } |
||
| 58 | |||
| 60 |