PHP Classes

File: tests/TransportTest.php

Recommend this page to a friend!
  Classes of vince   PHP Premier League API   tests/TransportTest.php   Download  
File: tests/TransportTest.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: PHP Premier League API
Retrieve information about the UK Premier League
Author: By
Last change:
Date: 8 years ago
Size: 293 bytes
 

Contents

Class file image Download
<?php
 
use Vlowe\PremierLeague\Transport;
 
class
TransportTest extends PHPUnit_Framework_TestCase {
 
  public function
testTransport()
  {
   
$cURL = new Transport();
   
$payload = $cURL->request('http://www.premierleague.com/');

    
$this->assertGreaterThan(0, strlen($payload));
  }
 

}