@Test
    public void testGetAccountsWith() throws ClassNotFoundException, SQLException {
        prepareGetAccountsWith();

        String search = "no";
        boolean res = false;

        List<User> users = userdao.getAccountsWith(search);

        for (User user : users) {
            if (user.getFirstName().contains(search)
                    || user.getLastName().contains(search)
                    || user.getUsername().contains(search)
                    || user.getEmail().contains(search)) {
                res = true;
            }
            Assert.assertTrue("Einer der Benutzer in der Liste beinhaltet nicht die Zeichenfolge " + search, res);
        }
    }