function test_get_streaming_profile()
{
$result = $this->api->get_streaming_profile(self::$predefined_profiles[0]);
$this->assertArrayHasKey("representations", $result["data"]);
$reps = $result["data"]["representations"];
$this->assertTrue(is_array($reps));
// "transformation is returned as an array
$this->assertTrue(is_array($reps[0]["transformation"]));
$tr = $reps[0]["transformation"][0];
$this->assertArrayHasKey("bit_rate", $tr);
$this->assertArrayHasKey("height", $tr);
$this->assertArrayHasKey("width", $tr);
$this->assertArrayHasKey("crop", $tr);
}