Exemplo n.º 1
0
 /**
  * @covers Box\TestScribe\Utils\ArrayUtil::lookupValueByKey
  */
 public function testLookupValueByKeyDoesNotExist()
 {
     // Execute the method under test.
     $executionResult = ArrayUtil::lookupValueByKey('k', ['foo' => 2], 0);
     // Validate the execution result.
     $expected = 0;
     $this->assertSame($expected, $executionResult, 'Variable ( executionResult ) doesn\'t have the expected value.');
 }