public void DescriptorStartingWithCompParsedAsCompStayTag() { Assert.IsInstanceOf <CompStayTag>(ReservationTagBase.CreateFromDescriptor("comp")); }
public void UnknownDescriptorThrowsNotImplementedException() { Assert.Throws <NotImplementedException>( () => ReservationTagBase.CreateFromDescriptor("junk")); }
public void DescriptorStartingWithGbParsedAsGroupBookingTag() { Assert.IsInstanceOf <GroupBookingTag>( ReservationTagBase.CreateFromDescriptor($"gb:{GroupBookingId}")); }