public function testGetAddressAction() { $address = $this->getMock('Sonata\\Component\\Customer\\AddressInterface'); $this->assertEquals($address, $this->createAddressController($address)->getAddressAction(1)); }