public static final String UNSOLVED_DATA
= "/org/drools/solver/examples/nqueens/data/unsolvedNQueensSmoke.xml";
public void testSmoke() {
XmlSolverConfigurer configurer = new XmlSolverConfigurer();
configurer.configure(SOLVER_CONFIG);
Solver solver = configurer.buildSolver();
SolutionDao solutionDao = new XstreamSolutionDaoImpl();
Solution startingSolution = solutionDao.readSolution(getClass().getResourceAsStream(UNSOLVED_DATA));
solver.setStartingSolution(startingSolution);
solver.solve();
Solution bestSolution = solver.getBestSolution();