Class GitHubStaticTest


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

    • GitHubStaticTest

      public GitHubStaticTest()
  • Method Details

    • testParseURL

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

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

      public void testRawUrlPathInvalid() throws Exception
      Test raw url path invalid.
      Throws:
      Exception - the exception
    • timeRoundTrip

      public void timeRoundTrip() throws Exception
      Time round trip.
      Throws:
      Exception - the exception
    • testFromRecord

      public void testFromRecord() throws Exception
      Test from record.
      Throws:
      Exception - the exception
    • 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() throws Exception
      Test git hub request get api URL.
      Throws:
      Exception - the exception