@Test
public void testGetFailureBadgeListEmpty() {

  Response response = new Response();
  response.put(JsonKey.RESPONSE, new ArrayList<Map<String, Object>>());
  PowerMockito.when(
          mockDBService.getRecordById(Mockito.any(), Mockito.any(), Mockito.anyString()))
      .thenReturn(response);
  boolean thrown = false;
  try {
    badgeClassExtensionServiceImpl.get(VALUE_BADGE_ID);
  } catch (ProjectCommonException exception) {
    thrown = true;
    Assert.assertEquals(
        ResponseCode.RESOURCE_NOT_FOUND.getResponseCode(), exception.getResponseCode());
  }
  Assert.assertEquals(true, thrown);
}