/** * Test regexp validator for ticket:542 * @link http://trac.propelorm.org/ticket/542 */ public function testRegexValidator() { $b = new Bookstore(); $b->setWebsite("http://this.is.valid.com/foo.bar"); $res = $b->validate(); $this->assertTrue($res, "Expected URL to validate"); }