@Test
public void testToVXResourceForServiceNull(){

        RangerPolicy policy = new RangerPolicy();
        policy.setId(1L);
        policy.setName("hive Policy");
        policy.setService("hive");
        policy.setDescription("hive policy description");
        RangerService rangerService = null;
        VXResource vXResource = serviceUtil.toVXResource(policy, rangerService);
        Assert.assertNull(vXResource);
}