function it_can_not_be_accepted_when_refunded() { $this->accept(); $this->refund(); $this->shouldThrow(InvalidTransitionException::class)->during('accept'); }