Class MockProxy.MockVerification

java.lang.Object
cloud.opencode.base.test.mock.MockProxy.MockVerification
Enclosing class:
MockProxy

public static class MockProxy.MockVerification extends Object
Mock verification helper. Mock验证助手。
Since:
JDK 25, opencode-base-test V1.0.0
Author:
Leon Soo www.LeonSoo.com
  • Method Details

    • called

      public void called(String methodName, Object... args)
      Verifies method was called. 验证方法被调用。
      Parameters:
      methodName - the method name | 方法名
      args - the arguments | 参数
    • neverCalled

      public void neverCalled(String methodName)
      Verifies method was never called. 验证方法从未被调用。
      Parameters:
      methodName - the method name | 方法名