public function testPayMethodReturnFalse() { $order = new Order(new ProductList()); $mockPaymentMethod = new MockFalseChargePaymentMethod(); $order->setPaymentMethod($mockPaymentMethod); $this->assertFalse($order->pay()); }