@Override
protected TaskRenderingSettings generateSettigns() {
when( task.getFormName() ).thenReturn( "modify" );
Invoice invoice = new Invoice();
invoice.setClient( new Client( new Long( 1234 ), "John Snow", "Winterfell" ) );
invoice.setDate( new Date() );
invoice.setComments( "Everything was perfect" );
invoice.setTotal( 150.5 );
List<InvoiceLine> lines = new ArrayList<>();
lines.add( new InvoiceLine( "Really Dangerous Sword", 1, 100.5, 100.5 ) );
lines.add( new InvoiceLine( "A comfortable black jacket", 1, 50.0, 50.0 ) );
invoice.setLines( lines );
Map<String, Object> inputs = new HashMap<>();
inputs.put( "in_invoice", invoice );
return new TaskRenderingSettings( task, inputs, new HashMap<>(), getFormContent(), marshallerContext );
}