@Test(expected = IllegalArgumentException.class)
public void testGetPermissionsWithNonDestinationActionInstance() {

    resolver.getPermissions(new Action() {
        @Override
        public String toString() {
            return "foo";
        }
    });
}