wip: expect a method to be raised