Scalr\Tests\Service\Aws\CloudWatchTest::testCommon PHP Method

testCommon() public method

public testCommon ( )
    public function testCommon()
    {
        if (!class_exists('\\http\\Client\\Request')) {
            $this->assertTrue(false, '\\http\\Client\\Request class does not exist! Please install php dependencies.');
        }
        $cw = $this->getCloudWatchMock();
        $this->assertInstanceOf(self::CLASS_CLOUD_WATCH, $cw);
        $this->assertInstanceOf(self::CLASS_CLOUD_WATCH_METRIC_HANDLER, $cw->metric);
    }