Ogone\Tests\DirectLink\DirectLinkQueryResponseTest::CorrectlyConvertsFloatAmountsToInteger PHP Method

CorrectlyConvertsFloatAmountsToInteger() public method

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