public class PolicyTest extends Object
| Constructor and Description |
|---|
PolicyTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testMultipleConditionKeysForConditionType()
Policies with multiple conditions that use the same comparison type must
be merged together in the JSON format, otherwise there will be two keys
with the same name and one will override the other.
|
void |
testMultipleStatements()
Tests serializing a more complex policy object with multiple statements.
|
void |
testPrincipalAccountId() |
void |
testPrincipals() |
void |
testStatementIdAssignment()
Tests that a policy correctly assigns unique statement IDs to any added
statements without IDs yet.
|
public void testPrincipals()
public void testMultipleConditionKeysForConditionType()
throws Exception
Exceptionpublic void testMultipleStatements()
throws Exception
Exceptionpublic void testStatementIdAssignment()
throws Exception
Exceptionpublic void testPrincipalAccountId()
Copyright © 2017. All rights reserved.