@Test
public void testIsValidService() throws Exception{

        RangerService rangerService = new RangerService();
        rangerService.setId(1L);
        rangerService.setName("hiveService");
        rangerService.setIsEnabled(true);
        HttpServletRequest request = Mockito.mock(HttpServletRequest.class);
        String serviceName = "hiveService";
        Mockito.when(svcStore.getServiceByName(serviceName)).thenReturn(rangerService);
        boolean isValid = serviceUtil.isValidService(serviceName, request);
        Assert.assertTrue(isValid);
}