public function CorrectlyConvertsFloatAmountsToInteger($string, $integer) { $xml = $this->provideXML($string); $queryResponse = new DirectLinkQueryResponse($xml); $this->assertEquals($integer, $queryResponse->getParam('amount')); }