public function testCrossjoin3Dim() { $test = Query::crossjoin(array("[Promotion Media].[All Media]", "[Promotion Media].[All Media].Children", "[Promotion Media].[All Media].[Daily Paper].Children")); $result = "Crossjoin(" . "[Promotion Media].[All Media], " . "Crossjoin(" . "[Promotion Media].[All Media].Children, " . "[Promotion Media].[All Media].[Daily Paper].Children" . ")" . ")"; $this->assertEquals($test, $result); }