You can create local hosts, e.g. site-one.test, site-two.test etc., see MAMP PRO (macOS) Documentation > Create a new host
These two hosts would then both point to the multisitetest folder.
You would then also have to change the $sites array to use the full hosts names site-one.test, like in the example in the docs.