public function testSetAndGetDashboard() { $expected = $this->getMock('Oro\\Bundle\\DashboardBundle\\Entity\\Dashboard'); $this->activeDashboard->setDashboard($expected); $this->assertSame($expected, $this->activeDashboard->getDashboard()); }