Write out what the policy type was, if this assertion fails. e.g.
`Assert.assertNotNull(policy); Assert.assertTrue(policy instanceof TestPolicy, "policy="+policy+"; type="+policy.getClass());`