Ejemplo n.º 1
0
 public function expect(ExpectationParams $params)
 {
     $case = $params->getCase();
     $key = $params->getKey();
     $actual = $params->getActual();
     $case->assertArrayNotHasKey($key, $actual);
 }
Ejemplo n.º 2
0
 public function expect(ExpectationParams $params)
 {
     $case = $params->getCase();
     $key = $params->getKey();
     $actual = $params->getActual();
     $case->assertArrayHasKey($key, $actual);
     $case->assertTrue(is_string($actual[$key]));
 }