public function testValidateShortCode() { $subject = new CouponCode(); $this->assertFalse($subject->validate('1K7Q-CTFM')); $subject = new CouponCode(['parts' => 2]); $this->assertTrue($subject->validate('1K7Q-CTFM')); }