Aimeos\ShopBundle\Tests\Controller\BasketControllerTest::testStandardComponent PHP Method

testStandardComponent() public method

    public function testStandardComponent()
    {
        $mock = $this->getMockBuilder('Aimeos\\ShopBundle\\Controller\\BasketController')->setMethods(array('getOutput'))->disableOriginalConstructor()->getMock();
        $mock->expects($this->once())->method('getOutput')->will($this->returnValue('test'));
        $this->assertEquals('test', $mock->standardComponentAction());
    }