public function testCountValues() { $array = array("key1" => "val", "key2" => "val", "key3" => "val3", "key4" => "val4"); $this->assertEquals(2, $this->stub->countValues("val", $array)); }