public static <T> T nullIsNotFound(T item, String message) {
        if (item == null) {
            log.error(message);
            throw new ItemNotFoundException(message);
        }
        return item;
    }
@Test
    public void testNullIsNotFound() {
        String input = "Foo";
        String output = Tools.nullIsNotFound(input, "Not found!");
        assertEquals(input, output);
        assertSame(input, output);
    }