public function testSignParamsWithSpaceEncodesWithPercentInsteadOfPlus() { $class = new TestAmazonAbstract('TestAccessKey', 'TestSecretKey'); $ret = $class->testSign(array('Action' => 'Space Test')); // this is the encode signuature with urlencode - It's Invalid! $invalidSignature = 'EeHAfo7cMcLyvH4SW4fEpjo51xJJ4ES1gdjRPxZTlto='; $this->assertNotEquals($ret, $invalidSignature); }