Interface OpenAssert.Executable

Enclosing class:
OpenAssert
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface OpenAssert.Executable
Executable functional interface for exception assertions 用于异常断言的可执行函数式接口
Since:
JDK 25, opencode-base-test V1.0.0
Author:
Leon Soo www.LeonSoo.com
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Executes the operation 执行操作
  • Method Details

    • execute

      void execute() throws Throwable
      Executes the operation 执行操作
      Throws:
      Throwable - if execution fails | 如果执行失败