@Test public void unknown_file() throws Exception { PhpIniParser parser = new PhpIniParser(); String fileName = "dir" + File.separator + "xxx.ini"; thrown.expect(IllegalStateException.class); thrown.expectMessage(fileName); PhpFile file = FileTestUtils.getFile(new File(fileName)); parser.parse(file); }
public PhpIniFile parse(PhpFile file) { return parse(file.contents()); }
PhpIniParser { public PhpIniFile parse(PhpFile file) { return parse(file.contents()); } }
PhpIniParser { public PhpIniFile parse(PhpFile file) { return parse(file.contents()); }  }
PhpIniParser { public PhpIniFile parse(PhpFile file) { return parse(file.contents()); }  PhpIniFile parse(PhpFile file); PhpIniFile parse(String content); }
PhpIniParser { public PhpIniFile parse(PhpFile file) { return parse(file.contents()); }  PhpIniFile parse(PhpFile file); PhpIniFile parse(String content);  }