@Test
public void isNotFound() {

  assertThat(transactionException(1, "", "NOT_FOUND").isNotFound(), is(true));
  assertThat(transactionException(1, "no entity to update", "").isNotFound(), is(true));
  assertThat(transactionException(1, "", "").isNotFound(), is(false));
}