function testNoSpaces() { $r = new Rule_ProjectName(); $this->assertFalse($r->noSpaces("group test")); $this->assertFalse($r->noSpaces(" grouptest")); $this->assertFalse($r->noSpaces("grouptest ")); $this->assertFalse($r->noSpaces("group test 1")); }