public function shouldReturnLiveIpnEndpointIfSandboxSetFalseInConstructor()
{
$api = new Api(array('sandbox' => false), $this->createHttpClientMock(), $this->createHttpMessageFactory());
$this->assertEquals('https://www.paypal.com/cgi-bin/webscr', $api->getIpnEndpoint());
}