@Test(expected = NotFoundException.class)
public void partialUpdateSecretWhenSecretContentDoesNotExist() {

  String name = "newSecret";
  String content = "c2VjcmV0MQ==";
  PartialUpdateSecretRequestV2 request =
      PartialUpdateSecretRequestV2.builder().contentPresent(true).content(content).build();
  jooqContext.insertInto(SECRETS)
      .set(SECRETS.ID, 12L)
      .set(SECRETS.NAME, name)
      .set(SECRETS.DESCRIPTION, series1.description())
      .set(SECRETS.CREATEDBY, series1.createdBy())
      .set(SECRETS.CREATEDAT, series1.createdAt().toEpochSecond())
      .set(SECRETS.UPDATEDBY, series1.updatedBy())
      .set(SECRETS.UPDATEDAT, series1.updatedAt().toEpochSecond())
      .set(SECRETS.CURRENT, 12L)
      .execute();
  secretDAO.partialUpdateSecret(name, "test", request);
}