Added function getIfIndexiByNasPortId in MockedSwitch.pm to pass test