A government planning inspector will rule on whether a proposed pizza takeaway restaurant should be given the go-ahead.