Пример #1
0
 public function testGetTaskIdFromText()
 {
     $t = new Task($this->container);
     $this->assertEquals(123, $t->getTaskIdFromText('My task #123'));
     $this->assertEquals(0, $t->getTaskIdFromText('My task 123'));
 }