Use expect_any_instance_of(Class).to receive to set an expectation that one (and only one) instance of a class receives a message before the example is
確定! 回上一頁