public function test_simple_createPlan() { $hash_in = array('planCode' => '1', 'name' => '2', 'intervalType' => 'MONTHLY', 'amount' => '1000'); $hash_out = Transactions::createCreatePlanHash($hash_in); $this->assertEquals($hash_in, array_intersect($hash_in, $hash_out)); }