function list_streaming_profiles($options = array()) { return $this->call_api("get", array("streaming_profiles"), array(), $options); }
function test_list_streaming_profile() { $result = $this->api->list_streaming_profiles(); $names = array_map(function ($profile) { return $profile["name"]; }, $result["data"]); $this->assertEmpty(array_diff(self::$predefined_profiles, $names)); }