| 1 | <?php  | 
            ||
| 11 | trait WebAssertTrait  | 
            ||
| 12 | { | 
            ||
| 13 | /**  | 
            ||
| 14 | * Assert that the response view has name  | 
            ||
| 15 | *  | 
            ||
| 16 | * @param string $name  | 
            ||
| 17 | * @param string $message  | 
            ||
| 18 | */  | 
            ||
| 19 | 2 | public function assertView($name, $message = '')  | 
            |
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * Assert Trait Exists  | 
            ||
| 26 | *  | 
            ||
| 27 | * @param string $expected  | 
            ||
| 28 | * @param Object $object  | 
            ||
| 29 | * @param string $message  | 
            ||
| 30 | *  | 
            ||
| 31 | * @return void  | 
            ||
| 32 | * @throws  | 
            ||
| 33 | */  | 
            ||
| 34 | 1 | public function assertTraitExists($expected, $object, $message = '')  | 
            |
| 40 | |||
| 41 | /**  | 
            ||
| 42 | * Execute method protected  | 
            ||
| 43 | *  | 
            ||
| 44 | * @param object $object Object  | 
            ||
| 45 | * @param string $method Method a Execute  | 
            ||
| 46 | * @param array $args Params  | 
            ||
| 47 | */  | 
            ||
| 48 | 1 | public function callProtectedMethod($object, $method, array $args = array())  | 
            |
| 55 | }  | 
            ||
| 56 |