Class HttpDataSourceTestEnv

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    @RequiresApi(19)
    public class HttpDataSourceTestEnv
    extends org.junit.rules.ExternalResource
    A JUnit Rule that creates test resources for HttpDataSource contract tests.
    • Constructor Detail

      • HttpDataSourceTestEnv

        public HttpDataSourceTestEnv()
    • Method Detail

      • getNonexistentUrl

        public String getNonexistentUrl()
      • before

        protected void before()
                       throws Throwable
        Overrides:
        before in class org.junit.rules.ExternalResource
        Throws:
        Throwable
      • after

        protected void after()
        Overrides:
        after in class org.junit.rules.ExternalResource