예제 #1
0
파일: EnumTest.php 프로젝트: wepay/common
 /**
  * @covers ::is
  */
 public function testIsNoMatch()
 {
     $f = new EnumFixture(EnumFixture::February);
     $this->assertFalse($f->is(EnumFixture::January));
 }
예제 #2
0
파일: EnumTest.php 프로젝트: firehed/common
 /** @covers ::is */
 public function testNoMatchDifferentClassDifferentValue()
 {
     $f = new EnumFixture(EnumFixture::January);
     $test = new EnumFixture2(EnumFixture2::February);
     $this->assertFalse($f->is($test));
 }