/**
* @test
*/
public function shouldSubExecuteSyncWithSameModel()
{
$expectedModel = array('foo' => 'fooVal');
$gatewayMock = $this->createGatewayMock();
$gatewayMock->expects($this->once())->method('execute')->with($this->isInstanceOf('Payum\\Core\\Request\\Sync'));
$action = new NotifyAction();
$action->setGateway($gatewayMock);
$action->execute(new Notify($expectedModel));
}