/** * Test setting and getting a pettern. */ public function testSetPattern() { $pattern = '/\\[([0-9]*.?[0-9]*)\\]/'; $trelloClient = $this->getTrelloClientMock(); $actionManager = new ActionManager($trelloClient); $storyPointManager = new StoryPointManager($trelloClient, $actionManager); $storyPointManager->setPattern($pattern); $this->assertEquals($pattern, $storyPointManager->getPattern()); }