public function testShowAction()
 {
     $workspaceId = $this->tester->grabFromRepository('AppBundle:Workspace', 'id', array('name' => 'Writing'));
     $projectTitle = $this->tester->grabFromRepository('AppBundle:Project', 'title', array('workspace' => $workspaceId));
     $this->assertEquals('Symfony book', $projectTitle, 'no match found');
     $this->tester->amOnRoute('workspace_show', array('name' => 'Writing'));
     $this->tester->seeResponseContains('Symfony book');
 }
 public function testIndexAction()
 {
     $this->tester->amOnRoute('dashboard_index');
     $this->tester->seeResponseContains('This is a placeholder for dashboard area.');
 }