Package co.nubetech.crux.dao

Examples of co.nubetech.crux.dao.FunctionDAO


   
    List<Function> functions = new ArrayList<Function>();
    functions.add(function1);
    functions.add(function2);
    functions.add(function3);
    FunctionDAO mockedFunctionDAO = mock(FunctionDAO.class);
    reportDesignAction.setFunctionDAO(mockedFunctionDAO);
    when(mockedFunctionDAO.findAll()).thenReturn(functions);
   
    String returnString = reportDesignAction.populateDimensionAndMeasureList();
   
    assertEquals(returnString, "success");
    //asserting
View Full Code Here

TOP

Related Classes of co.nubetech.crux.dao.FunctionDAO

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.