Add Embedded Server to your junit tests case.