public function testWithMockAnalyticsProvider()
 {
     $request = new Analytics\AnalyticsRequest();
     $request->RequestType = "MockAnalyticsProvider";
     $engine = new Analytics\AnalyticsEngine(dirname(__FILE__));
     $result = $engine->RunAnalyticsRequest($request);
     $this->assertEquals(1, $result->Result);
 }
    public function test()
    {
        $request = new Analytics\AnalyticsRequest();

        $request->DataContextType = "\Swiftriver\Core\Modules\DataContext\MySql_V2\DataContext";

        $request->Parameters = array("TimeLimit" => 30);

        $request->RequestType = "TotalContentByChannelAnalyticsProvider";

        $engine = new Analytics\AnalyticsEngine();

        $result = $engine->RunAnalyticsRequest($request);
    }