public void testIsNortelIp12x0ConfigurationFilePath() { assertFalse(Servlet.isNortelIp12x0ConfigurationFilePath("")); assertFalse(Servlet.isNortelIp12x0ConfigurationFilePath("not a good path")); assertTrue(Servlet.isNortelIp12x0ConfigurationFilePath("/Nortel/config/SIP002162FFB0FF.xml")); // XX-8437 Support auto-provisioning Avaya IP 1200 Remote Worker phones String long_path = "/phone/profile/tftproot/Nortel/config/SIP002162FFB0FF.xml"; assertTrue(Servlet.isNortelIp12x0ConfigurationFilePath(long_path)); }