Class TestEnvironment.ManualPublisher<T>

    • Method Detail

      • subscribe

        public void subscribe​(org.reactivestreams.Subscriber<? super T> s)
        Specified by:
        subscribe in interface org.reactivestreams.Publisher<T>
      • sendNext

        public void sendNext​(T element)
      • sendError

        public void sendError​(java.lang.Throwable cause)
      • expectRequest

        public long expectRequest()
                           throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • expectRequest

        public long expectRequest​(long timeoutMillis)
                           throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • expectRequest

        public long expectRequest​(long timeoutMillis,
                                  java.lang.String errorMessageAddendum)
                           throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • expectExactRequest

        public void expectExactRequest​(long expected)
                                throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • expectExactRequest

        public void expectExactRequest​(long expected,
                                       long timeoutMillis)
                                throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • expectNoRequest

        public void expectNoRequest()
                             throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • expectNoRequest

        public void expectNoRequest​(long timeoutMillis)
                             throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • expectCancelling

        public void expectCancelling()
                              throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • expectCancelling

        public void expectCancelling​(long timeoutMillis)
                              throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • isCancelled

        public boolean isCancelled()
                            throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException