Package org.jbehave.examples.core.service

Source Code of org.jbehave.examples.core.service.TradingService

package org.jbehave.examples.core.service;

import org.jbehave.examples.core.model.Stock;
import org.jbehave.examples.core.model.Trader;

public class TradingService {

    public Stock newStock(String symbol, double threshold) {
        return new Stock(symbol, threshold);
    }

    public Trader newTrader(String name, String rank) {
        return new Trader(name, rank);
    }

}
TOP

Related Classes of org.jbehave.examples.core.service.TradingService

TOP
Copyright © 2018 www.massapi.com. 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.