use scala to check Spring mock mvc