|  | @@ 129-137 (lines=9) @@ | 
                                                            
                                    | 126 |  | 	/** | 
                                                            
                                    | 127 |  | 	 * Test parsing composer.json, missing file. | 
                                                            
                                    | 128 |  | 	 */ | 
                                                            
                                    | 129 |  | 	public function testLoad_missing() { | 
                                                            
                                    | 130 |  | 		$this->resetConfigCache(); | 
                                                            
                                    | 131 |  |  | 
                                                            
                                    | 132 |  | 		$w = TestingAccessWrapper::newFromClass( Config::class ); | 
                                                            
                                    | 133 |  | 		Config::setComposerJsonPath( 'missing.json' ); | 
                                                            
                                    | 134 |  | 		$this->expectException( ConfigException::class ); | 
                                                            
                                    | 135 |  | 		$this->expectExceptionMessage( 'File missing.json is not found.' ); | 
                                                            
                                    | 136 |  | 		$w->load(); | 
                                                            
                                    | 137 |  | 	} | 
                                                            
                                    | 138 |  |  | 
                                                            
                                    | 139 |  | 	/** | 
                                                            
                                    | 140 |  | 	 * Test parsing composer.json, bogus file. | 
                                                                                
                                |  | @@ 142-150 (lines=9) @@ | 
                                                            
                                    | 139 |  | 	/** | 
                                                            
                                    | 140 |  | 	 * Test parsing composer.json, bogus file. | 
                                                            
                                    | 141 |  | 	 */ | 
                                                            
                                    | 142 |  | 	public function testLoad_bogus() { | 
                                                            
                                    | 143 |  | 		$this->resetConfigCache(); | 
                                                            
                                    | 144 |  |  | 
                                                            
                                    | 145 |  | 		$w = TestingAccessWrapper::newFromClass( Config::class ); | 
                                                            
                                    | 146 |  | 		Config::setComposerJsonPath( 'bogus.json' ); | 
                                                            
                                    | 147 |  | 		$this->expectException( ConfigException::class ); | 
                                                            
                                    | 148 |  | 		$this->expectExceptionMessage( 'File bogus.json could not be parsed.' ); | 
                                                            
                                    | 149 |  | 		$w->load(); | 
                                                            
                                    | 150 |  | 	} | 
                                                            
                                    | 151 |  |  | 
                                                            
                                    | 152 |  | 	/** | 
                                                            
                                    | 153 |  | 	 * Test the base method. |