/* Ċ Ġ* ĠCopyright Ġ( C ) Ġ 2 0 2 0 ĠAnt on ĠMal in sk iy Ċ Ġ* Ċ Ġ* ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "); Ċ Ġ* Ġyou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . Ċ Ġ* ĠYou Ġmay Ġobtain Ġa Ġcopy Ġof Ġthe ĠLicense Ġat Ċ Ġ* Ċ Ġ* ĠĠĠĠĠ Ġhttp :// www . apache . org / licenses / LICENSE - 2 . 0 Ċ Ġ* Ċ Ġ* ĠUnless Ġrequired Ġby Ġapplicable Ġlaw Ġor Ġagreed Ġto Ġin Ġwriting , Ġsoftware Ċ Ġ* Ġdistributed Ġunder Ġthe ĠLicense Ġis Ġdistributed Ġon Ġan Ġ" AS ĠIS " ĠBASIS , Ċ Ġ* ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ġexpress Ġor Ġimplied . Ċ Ġ* ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ġpermissions Ġand Ċ Ġ* Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ*/ Ċ Ċ package Ġcom . mal in sk iy . adam . request . forwarding Ċ Ċ import Ġassert k . assertThat Ċ import Ġassert k . assertions . isEqualTo Ċ import Ġcom . mal in sk iy . adam . exception . Unsupported Forwarding Spec Exception Ċ import Ġorg . junit . Test Ċ Ċ class ĠRemote Port Spec Test Ġ{ ĊĠĠĠ Ġ@ Test ( expected Ġ= ĠUnsupported Forwarding Spec Exception :: class ) ĊĠĠĠ Ġfun Ġtest Unsupported () Ġ{ ĊĠĠĠĠĠĠĠ ĠRemote Port Spec . parse (" w tf ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest Remote Abstract Port Spec () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Remote Abstract Port Spec (" socket "). to Spec ()). isEqualTo (" local abstract : socket ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest Remote Reserved Port Spec () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Remote Reserved Port Spec (" socket "). to Spec ()). isEqualTo (" local reserved : socket ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest Remote Dev Port Spec () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Remote Dev Port Spec (" socket "). to Spec ()). isEqualTo (" dev : socket ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest J DW P Port Spec () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( J DW P Port Spec ( 1 ). to Spec ()). isEqualTo (" jd wp : 1 ") ĊĠĠĠ Ġ} Ċ }