Which of the following tests a hypothesis?

an experiment with no variables changing

No experiment tests a hypothesis.

an experiment with only one variable changing

an experiment with only one variable changing