So you want to test a claim about the distribution of a single categorical variable. Question: How many categories does your variable have?
Example: You want to test the claim that less than 30% of an adult population got a flu shot this year. There are two possible values of this outcome – yes or no.
Example: Does the percentage of blue, green, red, and orange pieces of candy in a mixed bag match what the manufacturer claims the distribution of colors is?