Interface FunctionMustThrow


  • public interface FunctionMustThrow
    Commonly used in unit test, the FunctionMustThrow interface design a function who will throw an exception. This approach is very helpful to verify error code returned.
    Since:
    20 déc. 2017