public function testGetCustomersAction()
{
$customerManager = $this->getMock('Sonata\\Component\\Customer\\CustomerManagerInterface');
$customerManager->expects($this->once())->method('getPager')->will($this->returnValue(array()));
$paramFetcher = $this->getMock('FOS\\RestBundle\\Request\\ParamFetcherInterface');
$paramFetcher->expects($this->exactly(3))->method('get');
$paramFetcher->expects($this->once())->method('all')->will($this->returnValue(array()));
$this->assertEquals(array(), $this->createCustomerController(null, $customerManager)->getCustomersAction($paramFetcher));
}