All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nakedobjects.example.expenses.fixtures.SvenClaim2Submitted Maven / Gradle / Ivy

The newest version!
package org.nakedobjects.example.expenses.fixtures;

import org.nakedobjects.applib.value.Date;

import org.nakedobjects.example.expenses.claims.Claim;
import org.nakedobjects.example.expenses.employee.Employee;

public class SvenClaim2Submitted extends AbstractClaimFixture {
    
	public static Employee SVEN;
	public static Employee DICK;;
	public static Claim SVEN_CLAIM_2;

    @Override
	public void install() {
    	SVEN = EmployeeFixture.SVEN;
    	DICK = EmployeeFixture.DICK;
  	
    	SVEN_CLAIM_2 =createNewClaim(SVEN, null, "15th Mar - Sales call, London", ProjectCodeFixture.CODE1, new Date(2007,4,3));
    	Date mar14th = new Date(107,3,14);
    	addTaxi(SVEN_CLAIM_2, mar14th, null, 18.00, "Euston", "City", true);
    	addMeal(SVEN_CLAIM_2, mar14th, "Lunch with client", 50.00);
    	SVEN_CLAIM_2.submit(DICK, false);
     }   		   
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy