abakt-test
Toggle table of contents
1.0.0
jvm
Platform filter
jvm
Switch theme
Search in API
abakt-test
abakt-test
/
abakt.test
/
ResourcePolicyResourceTest
Resource
Policy
Resource
Test
class
ResourcePolicyResourceTest
<
Principal
:
Any
,
Resource
:
Any
>
(
policy
:
ResourcePolicy
<
Principal
,
Resource
>
,
resource
:
Resource
)
Members
Constructors
Resource
Policy
Resource
Test
Link copied to clipboard
constructor
(
policy
:
ResourcePolicy
<
Principal
,
Resource
>
,
resource
:
Resource
)
Functions
should
Be
Allowed
Link copied to clipboard
infix
fun
Principal
.
shouldBeAllowed
(
action
:
ResourceAction
<
Resource
>
)
should
Be
Denied
Link copied to clipboard
infix
fun
Principal
.
shouldBeDenied
(
action
:
ResourceAction
<
Resource
>
)
should
Not
Be
Allowed
Link copied to clipboard
infix
fun
Principal
.
shouldNotBeAllowed
(
action
:
ResourceAction
<
Resource
>
)