spring framework mock-up