}
@Test
public void parse_browser_ICEWEASEL() throws Exception {
final String userAgent = "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.5) Gecko/20091112 Iceweasel/3.5.5 (like Firefox/3.5.5; Debian-3.5.5-1)";
final UserAgent agent = PARSER.parse(userAgent);
assertThat(agent).isNotNull();
// check user agent informations
assertThat(agent.getFamily()).isEqualTo(UserAgentFamily.ICEWEASEL);
assertThat(agent.getIcon()).isEqualTo("iceweasel.png");
assertThat(agent.getName()).isEqualTo("IceWeasel");
assertThat(agent.getProducer()).isEqualTo("Software in the Public Interest, Inc.");
assertThat(agent.getProducerUrl()).isEqualTo("http://www.spi-inc.org/");
assertThat(agent.getType()).isEqualTo(UserAgentType.BROWSER);
assertThat(agent.getTypeName()).isEqualTo("Browser");
assertThat(agent.getUrl()).isEqualTo("http://www.gnu.org/software/gnuzilla/");
assertThat(agent.getVersionNumber().toVersionString()).isEqualTo("3.5.5");
// check operating system informations
final OperatingSystem os = agent.getOperatingSystem();
assertThat(os.getFamily()).isEqualTo(OperatingSystemFamily.LINUX);
assertThat(os.getFamilyName()).isEqualTo("Linux");
assertThat(os.getIcon()).isEqualTo("linux_debian.png");
assertThat(os.getName()).isEqualTo("Linux (Debian)");
assertThat(os.getProducer()).isEqualTo("Software in the Public Interest, Inc.");
assertThat(os.getProducerUrl()).isEqualTo("http://www.spi-inc.org/");
assertThat(os.getUrl()).isEqualTo("http://www.debian.org/");
assertThat(os.getVersionNumber()).isEqualTo(VersionNumber.UNKNOWN);
// check device category informations
final DeviceCategory category = agent.getDeviceCategory();
assertThat(category.getCategory()).isEqualTo(Category.PERSONAL_COMPUTER);
assertThat(category.getName()).isEqualTo(Category.PERSONAL_COMPUTER.getName());
assertThat(category.getIcon()).isEqualTo("desktop.png");
assertThat(category.getInfoUrl()).isEqualTo("/list-of-ua/device-detail?device=Personal computer");
}