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

  when(secretController.getSecretById(0xdeadbeef)).thenReturn(Optional.empty());
  resource.deleteSecret(user, new LongParam(Long.toString(0xdeadbeef)));
}