@Then("^Am I hungry\\? \"([^\"]*)\"$") public void amIHungry(String hungry) { assertEquals(belly.isHungry(), Boolean.parseBoolean(hungry)); }