| 
                                
                                    @@ 64-67 (lines=4) @@
                                 | 
                            
                                                            
                                    | 61 | 
                                     | 
                                            $xpathObj->registerNamespace('shibmd', Scope::NS); | 
                                
                                                            
                                    | 62 | 
                                     | 
                                            $nodeList = $xpathObj->query($xpath);  | 
                                
                                                            
                                    | 63 | 
                                     | 
                                     | 
                                
                                                            
                                    | 64 | 
                                     | 
                                            if (!$nodeList || $nodeList->length === 0) { | 
                                
                                                            
                                    | 65 | 
                                     | 
                                                $message = sprintf('The xpath "%s" did not result in at least one match.', $xpath); | 
                                
                                                            
                                    | 66 | 
                                     | 
                                                throw new ExpectationException($message, $this->getSession());  | 
                                
                                                            
                                    | 67 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 68 | 
                                     | 
                                        }  | 
                                
                                                            
                                    | 69 | 
                                     | 
                                     | 
                                
                                                            
                                    | 70 | 
                                     | 
                                        /**  | 
                                
                                                                                
                                 | 
                                
                                    @@ 83-90 (lines=8) @@
                                 | 
                            
                                                            
                                    | 80 | 
                                     | 
                                            $xpathObj->registerNamespace('mdui', Common::NS); | 
                                
                                                            
                                    | 81 | 
                                     | 
                                            $nodeList = $xpathObj->query($xpath);  | 
                                
                                                            
                                    | 82 | 
                                     | 
                                     | 
                                
                                                            
                                    | 83 | 
                                     | 
                                            if ($nodeList && $nodeList->length > 0) { | 
                                
                                                            
                                    | 84 | 
                                     | 
                                                $message = sprintf(  | 
                                
                                                            
                                    | 85 | 
                                     | 
                                                    'The xpath "%s" resulted in "%d" matches, where it should result in no matches"',  | 
                                
                                                            
                                    | 86 | 
                                     | 
                                                    $xpath,  | 
                                
                                                            
                                    | 87 | 
                                     | 
                                                    $nodeList->length  | 
                                
                                                            
                                    | 88 | 
                                     | 
                                                );  | 
                                
                                                            
                                    | 89 | 
                                     | 
                                                throw new ExpectationException($message, $this->getSession());  | 
                                
                                                            
                                    | 90 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 91 | 
                                     | 
                                        }  | 
                                
                                                            
                                    | 92 | 
                                     | 
                                     | 
                                
                                                            
                                    | 93 | 
                                     | 
                                        /**  |