\JGithubUsersTest
Test class for JGithubIssues.
Synopsis
class JGithubUsersTest
extends PHPUnit_Framework_TestCase
{
- // members
- protected JRegistry $options;
- protected JGithubHttp $client;
- protected JGithubUsers $object;
- // methods
- protected void setUp()
- public void testGetUser()
- public void testGetUserFailure()
- public void testGetAuthenticatedUser()
- public void testGetAuthenticatedUserFailure()
- public void testGetUsers()
Hierarchy
Extends
Members
protected
- $client — JGithubHttp
- $object — JGithubUsers
- $options — JRegistry
Methods
protected
- setUp() — Sets up the fixture, for example, opens a network connection.
public
- testGetAuthenticatedUser() — Tests the getAuthenticatedUser method
- testGetAuthenticatedUserFailure() — Tests the GetAuthenticatedUser method with failure
- testGetUser() — Tests the getUser method
- testGetUserFailure() — Tests the getUser method with failure
- testGetUsers() — Tests the getUsers method