public function testExpectsWithKey_Positive() { function expectsWithKeyPositiveTest($arg1) { expects(withKey('hello'), $arg1); } $this->assertNull(expectsWithKeyPositiveTest(array('hello' => 'world'))); }