\JGithubForksTest
Test class for JGithubGists.
Synopsis
class JGithubForksTest
extends PHPUnit_Framework_TestCase
{
- // members
- protected JRegistry $options;
- protected JGithubHttp $client;
- protected JGithubGists $object;
- protected $sampleString;
- protected $errorString;
- // methods
- protected void setUp()
- public void testCreate()
- public void testCreateFailure()
- public void testGetList()
- public void testGetListFailure()
Hierarchy
Extends
Members
protected
- $client — JGithubHttp
- $errorString — string
- $object — JGithubGists
- $options — JRegistry
- $sampleString — string
Methods
protected
- setUp() — Sets up the fixture, for example, opens a network connection.
public
- testCreate() — Tests the create method
- testCreateFailure() — Tests the create method - failure
- testGetList() — Tests the getList method
- testGetListFailure() — Tests the getList method - failure