Package pl.edu.oop.java.company.employee.basicemployee.satisfaction

Examples of pl.edu.oop.java.company.employee.basicemployee.satisfaction.GoodStrategy


    public void setUp() throws Exception {
        employeeWithAvarageStrategyAndHighSalary = new Employee(EMPLOYEE1_NAME, BigDecimal.valueOf(10000),
                new CountryAverageSalaryBasedSatisfactionStrategy());
        employeeWithAvarageStrategyAndLowSalary = new Employee(EMPLOYEE2_NAME, BigDecimal.valueOf(10),
                new CountryAverageSalaryBasedSatisfactionStrategy());
        employeeWithGoodStrategy = new Employee(EMPLOYEE3_NAME, BigDecimal.valueOf(3000), new GoodStrategy());
    }
View Full Code Here


    private GoodStrategy goodStrategy;
    private CountryAverageSalaryBasedSatisfactionStrategy avarageStrategy;

    @Before
    public void setUp() throws Exception {
        goodStrategy = new GoodStrategy();
        avarageStrategy = new CountryAverageSalaryBasedSatisfactionStrategy();
    }
View Full Code Here

TOP

Related Classes of pl.edu.oop.java.company.employee.basicemployee.satisfaction.GoodStrategy

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.