@Before
 public void setUp() throws Exception {
   super.setUp();
   action.setProfile(profile);
   action.setServletRequest(getMockRequest());
   action.setPage(CERTIFICATION.name());
 }
  @Test
  public void testDeleteCertification() throws CredentialAlreadyExistsException {
    profile.addCredential(certification);
    action.setProfile(profile);
    action.setCertification(certification);
    assertEquals(1, profile.getCredentials().size());

    action.deleteCertification();
    assertEquals(0, profile.getCredentials().size());
    verify(mockProfileService).save(profile, FormTypeEnum.CV);
  }