@Test
public void testSearchSuccessEmpty() {

  Response response = new Response();
  response.put(JsonKey.RESPONSE, new ArrayList<Map<String, Object>>());
  PowerMockito.when(
          mockDBService.getRecordsByProperties(Mockito.any(), Mockito.any(), Mockito.anyMap()))
      .thenReturn(response);
  List<BadgeClassExtension> badgeClassExtList =
      badgeClassExtensionServiceImpl.search(
          new ArrayList<>(),
          new ArrayList<>(),
          VALUE_ROOT_ORG_ID,
          VALUE_TYPE,
          VALUE_SUBTYPE,
          VALUE_ROLES_LIST);
  Assert.assertTrue(null != badgeClassExtList);
  Assert.assertEquals(0, badgeClassExtList.size());
}