Step 1: The Hinsberg test uses benzenesulfonyl chloride with aqueous KOH.
Step 2: A primary amine forms a sulfonamide with an acidic N-H, dissolving as its potassium salt in KOH.
Step 3: A secondary amine forms a sulfonamide with no acidic N-H, insoluble in KOH.
Step 4: A tertiary amine does not react at all, remaining as an oily layer.
\[\boxed{\text{Hinsberg test}}\]