@Test
public void testSaveSuccess() {

  PowerMockito.when(mockDBService.upsertRecord(Mockito.any(), Mockito.any(), Mockito.any()))
      .thenReturn(new Response());
  boolean thrown = false;
  try {
    BadgeClassExtension badgeClassExtension =
        new BadgeClassExtension(
            VALUE_BADGE_ID,
            VALUE_ISSUER_ID,
            VALUE_ROOT_ORG_ID,
            VALUE_TYPE,
            VALUE_SUBTYPE,
            VALUE_ROLES_LIST);
    badgeClassExtensionServiceImpl.save(badgeClassExtension);
  } catch (Exception e) {
    thrown = true;
  }
  Assert.assertEquals(false, thrown);
}