/** @test */
 function a_member_can_pay_for_food_and_drinks()
 {
     $paymentInfo = new PaymentInfo(true, true);
     $this->assertTrue($paymentInfo->payForMembership());
     $this->assertTrue($paymentInfo->payForFoodAndDrinks());
 }
 public function __construct(RegistrationRequestId $id, PaymentInfo $payment)
 {
     $this->id = (string) $id;
     $this->paysForMembership = $payment->payForMembership();
     $this->paysForFoodAndDrinks = $payment->payForFoodAndDrinks();
 }