public static Offer createOffer(boolean acceptable) {
Application app = new Application();
app.setName("John Smith");
app.setCreditScore(acceptable ? 700 : 300);
Car car = new Car();
car.setPrice(18000);
car.setVehicleId("Honda");
Offer offer = new Offer();
offer.setApplication(app);
offer.setCar(car);
offer.setAmount(17000);