A goodness-of-fit test is used in a situation where three companies want to know if their market shares remain the same after one company introduced a new product into the market.
Their market shares before the new product introduction were:
$30\%$ for Company $A$
$25\%$ for Company $B$
$45\%$ for Company $C$
What is the null hypothesis?