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

Examples of pl.edu.oop.java.company.employee.basicemployee.Employee


    private IEmployee employeeWithAvarageStrategyAndLowSalary;
    private IEmployee employeeWithGoodStrategy;

    @Before
    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


    @Mock
    private ISatisfactionStrategy satisfactionStrategy;

    @Before
    public void setUp() throws Exception {
        instance = new Employee(NAME, SALARY, satisfactionStrategy);
    }
View Full Code Here

TOP

Related Classes of pl.edu.oop.java.company.employee.basicemployee.Employee

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.