public NFStatus insertNFStatus(PersistanceActionEnum action) {
    NFStatus exame = new NFStatus();
    Date a = new Date();
    exame.setId(1);
    exame.setModelAction(action);
    // exame.setNome("Nome");
    // exame.setDataNFStatus((int)a.getTime());
    // exame.setMedicoResponsavel("Resposnsavel");
    // exame.setLaboratorio("Laboratorio");

    return exame;
  }
  @Test
  public void testupdateNFStatus() throws Exception {

    NFStatus funcionario = new NFStatus();
    funcionario = insertNFStatus(PersistanceActionEnum.INSERT);
    InternalResultsResponse<NFStatus> response = new InternalResultsResponse<NFStatus>();
    Integer a = getNFStatusDAC().insertNFStatus(funcionario, "", response);

    assertEquals(response.getStatus(), Status.OperationSuccess);
    funcionario = response.getFirstResult();
    funcionario.setModelAction(PersistanceActionEnum.UPDATE);
    funcionario.setId(response.getFirstResult().getId());
    response = new InternalResultsResponse<NFStatus>();

    a = getNFStatusDAC().updateNFStatus(funcionario, response);
    assertEquals(response.getStatus(), Status.OperationSuccess);
  }