JavaScript is disabled on your browser.
Package: groovy.mock.interceptor

[Groovy] Class StrictExpectation


  • class StrictExpectation
    extends Object 

    Expects demanded call cardinalities to match demanded ranges in the sequence of recording.

    See Also:
    LooseExpectation

    • Property Detail

      • int fCallSpecIdx

    • Constructor Detail

      • StrictExpectation(Demand demand)

    • Method Detail

      • Closure match(String name)

        Match the requested method name against eligible demands. Fail early if no match possible. Return the demand's behavior closure on match. Also skips over names matching ignore filter, if any.

      • void verify()

        verify all calls are in expected range

Copyright © 2003-2025 The Apache Software Foundation. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /