Class MockWoofServerRule

    • Method Detail

      • profile

        public MockWoofServerRule profile​(java.lang.String profile)
        Builder pattern for adding an additional profile.
        Parameters:
        profile - Additional profile.
        Returns:
        this.
      • property

        public MockWoofServerRule property​(java.lang.String name,
                                           java.lang.String value)
        Builder pattern for adding an override property.
        Parameters:
        name - Name.
        value - Value.
        Returns:
        this.
      • timeout

        public MockWoofServerRule timeout​(int timeout)
        =============== MockWoofServer =====================
        Overrides:
        timeout in class MockHttpServer
        Parameters:
        timeout - Timeout in milliseconds.
        Returns:
        this.
      • 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