package Ġio . piv otal . sh iny ay Ċ Ċ import Ġorg . junit . jupiter . api . Test Ċ import Ġorg . junit . jupiter . api . extension . Extend With Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġorg . springframework . boot . test . autoconfigure . web . servlet . Web Mvc Test Ċ import Ġorg . springframework . test . context . junit . jupiter . Spring Extension Ċ import Ġorg . springframework . test . web . servlet . MockMvc Ċ import Ġorg . springframework . test . web . servlet . request . MockMvc Request Builders . get Ċ import Ġorg . springframework . test . web . servlet . result . MockMvc Result Matchers . status Ċ Ċ @ Extend With ( Spring Extension :: class ) Ċ @ Web Mvc Test () Ċ class ĠSpring Cloud Gateway Gs Application Tests (@ Autowired Ġval Ġmock Mvc : ĠMock Mvc ) Ġ{ ĊĊ ĉ @ Test Ċ ĉ fun Ġrouting Test () Ġ{ Ċĉ ĉ mock Mvc . perform ( get ("/ get ")) Ċĉĉĉ ĉ . andExpect ( status (). is Ok ) Ċ ĉ } Ċ Ċ } Ċ