Package com.tapestry5book.services

Examples of com.tapestry5book.services.UserDao


        }
    }

    @Test
    public void findByNonExistingName() {
        UserDao dao = registry.getService(UserDao.class);

        User user = dao.findByName("igor");

        assertNull(user);
    }
View Full Code Here


    }

    @Test
    public void findByName() {

        UserDao dao = registry.getService(UserDao.class);

        User user = dao.findByName("root");

        assertNotNull(user);
    }
View Full Code Here

TOP

Related Classes of com.tapestry5book.services.UserDao

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.