Class MockGoogleHttpFunctionRule

All Implemented Interfaces:
org.junit.rules.TestRule

public class MockGoogleHttpFunctionRule extends AbstractMockGoogleHttpFunctionJUnit<MockGoogleHttpFunctionRule> implements org.junit.rules.TestRule
TestRule for Google HttpFunction execution.
  • Constructor Details

    • MockGoogleHttpFunctionRule

      public MockGoogleHttpFunctionRule(Class<?> httpFunctionClass)
      Instantiate.
      Parameters:
      httpFunctionClass - HttpFunction Class.
    • MockGoogleHttpFunctionRule

      public MockGoogleHttpFunctionRule()
      Instantiate using the OfficeFloor HttpFunction.
  • Method Details

    • apply

      public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
      Specified by:
      apply in interface org.junit.rules.TestRule