Class GitHubStaticTest


public class GitHubStaticTest extends AbstractGitHubWireMockTest
Unit test for GitHub static helpers.
Author:
Liam Newman
  • Constructor Details

    • GitHubStaticTest

      public GitHubStaticTest()
      Create default GitHubStaticTest instance
  • Method Details

    • testParseURL

      public void testParseURL() throws Exception
      Test parse URL.
      Throws:
      Exception - the exception
    • testParseInstant

      public void testParseInstant()
      Test parse instant.
    • testRawUrlPathInvalid

      public void testRawUrlPathInvalid()
      Test raw url path invalid.
    • timeRoundTrip

      public void timeRoundTrip()
      Time round trip.
    • testFromRecord

      public void testFromRecord()
      Test from record.
    • testGitHubRateLimitShouldReplaceRateLimit

      public void testGitHubRateLimitShouldReplaceRateLimit() throws Exception
      Test git hub rate limit should replace rate limit.
      Throws:
      Exception - the exception
    • testMappingReaderWriter

      public void testMappingReaderWriter() throws Exception
      Test mapping reader writer.
      Throws:
      Exception - the exception
    • testGitHubRequest_getApiURL

      public void testGitHubRequest_getApiURL()
      Test git hub request get api URL.