public function testExpectsWithKeys_Positive() { function expectsWithKeysPositiveTest($arg1) { expects(withKeys('hello', 'answer'), $arg1); } $this->assertNull(expectsWithKeysPositiveTest(array('hello' => 'world', 'answer' => 42))); }