Why do you set the amount on the gateway? It makes no sense.
Try:

```php
$request = $this->gateway->purchase(array('amount' => '10'));
```