public class JUnit5Authorization extends java.lang.Object implements Authorization
Constructor and Description |
---|
JUnit5Authorization() |
Modifier and Type | Method and Description |
---|---|
WhenThen<TestExpectation> |
given(FunctionCall functionCall) |
<VALUE_TYPE> |
given(ReturnValueCall<VALUE_TYPE> returnValueCall) |
void |
markExpectationConstructed() |
void |
setRole(UserIdentifier producerIdentifier,
UserIdentifier consumerIdentifier) |
void |
setUserRoleIT(UserRoleIT userRoleIT) |
public void setUserRoleIT(UserRoleIT userRoleIT)
setUserRoleIT
in interface Authorization
public void setRole(UserIdentifier producerIdentifier, UserIdentifier consumerIdentifier)
setRole
in interface Authorization
public WhenThen<TestExpectation> given(FunctionCall functionCall)
given
in interface Authorization
public <VALUE_TYPE> WhenThen<TestValueExpectation<VALUE_TYPE>> given(ReturnValueCall<VALUE_TYPE> returnValueCall)
given
in interface Authorization
public void markExpectationConstructed()
markExpectationConstructed
in interface Authorization