toggle menu
Algoutils
0.9.1-SNAPSHOT
jvm
switch theme
search in API
algoutils-tutor
/
org.tudalgo.algoutils.tutor.general.call
/
Call
Call
public
interface
Call
<
R
>
(
source
)
Inheritors
NormalResult
ThrowableResult
Members
Functions
assert
Normal
Link copied to clipboard
public
R
assertNormal
(
)
public
R
assertNormal
(
String
message
)
public
abstract
R
assertNormal
(
Supplier
<
String
>
messageSupplier
)
Asserts that the call resulted in a result of type
type
and returns the result.
assert
Throws
Link copied to clipboard
public
E
assertThrows
<
E
extends
Throwable
>
(
Class
<
E
>
type
)
Asserts that the call resulted in n throwable of type
type
and returns the throwable.
public
E
assertThrows
<
E
extends
Throwable
>
(
Class
<
E
>
type
,
String
message
)
public
abstract
E
assertThrows
<
E
extends
Throwable
>
(
Class
<
E
>
type
,
Supplier
<
String
>
messageSupplier
)
Asserts that the call resulted in a throwable of type
type
and returns the throwable.