A method detects proper connection of a test connection to an endoscope port which leads to an interior space beneath a flexible sheath on an endoscope. Both the interior space and an air buffer are pressurized and then isolated from each other. Pressure in the interior space is vented and the isolation is removed. After the pressure settles out the new pressure is compared with the first pressure. If it has not dropped settles out the new pressure is compared with the first pressure. If it has not dropped substantially it is determined that the test connection is not properly attached and the interior space is in fact not being pressurized.一偵測測試連接件與內視鏡埠的適當連接狀態之方法,該埠通至該內視鏡上之撓性護鞘下方的一內部空間。加壓該內部空間及一空氣緩衝器兩者,且接著彼此隔離。減輕該內部空間中之壓力,並移去該隔離。在該壓力安定之後,比較該新的壓力與該第一壓力。如果該壓力未大幅地下降,則判定該測試連接件係不適當地附接,且該內部空間事實上未被加壓。