Class ConstructorAwareExpectationSetup<T>

    • Constructor Detail

      • ConstructorAwareExpectationSetup

        public ConstructorAwareExpectationSetup​(java.lang.reflect.Constructor<T> ctor)
    • Method Detail

      • withArguments

        public org.mockito.stubbing.OngoingStubbing<T> withArguments​(java.lang.Object firstArgument,
                                                                     java.lang.Object... additionalArguments)
                                                              throws java.lang.Exception
        Specified by:
        withArguments in interface WithExpectedArguments<T>
        Throws:
        java.lang.Exception
      • withNoArguments

        public org.mockito.stubbing.OngoingStubbing<T> withNoArguments()
                                                                throws java.lang.Exception
        Specified by:
        withNoArguments in interface WithoutExpectedArguments<T>
        Throws:
        java.lang.Exception