Package org.nanocontainer.nanowar.sample.dao.simple

Examples of org.nanocontainer.nanowar.sample.dao.simple.MemoryCheeseDao


   
    /**
    * test that cheese action works and store cheese in service
    */
    public void testCheeseAction() throws Exception {
        DefaultCheeseService service = new DefaultCheeseService(new MemoryCheeseDao());
       
        CheeseAction action = new CheeseAction(service);
        action.getCheese().setName("gouda");
        action.getCheese().setCountry("Netherlands");
        action.setCommand("save");
View Full Code Here

TOP

Related Classes of org.nanocontainer.nanowar.sample.dao.simple.MemoryCheeseDao

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.