You can just do:
`assertEquals(((TestPolicy)policy).getLeftoverProperties(), ImmutableMap.of("policyLiteralValue1", "Hello", "policyLiteralValue2", "World"));`