AwsInspector\Tests\Model\AbstractTest::getTagReturnsExpectedTag PHP Method

getTagReturnsExpectedTag() public method

    public function getTagReturnsExpectedTag()
    {
        $data = ['Tags' => [['Key' => 'testKey', 'Value' => 'testValue'], ['Key' => 'testKey2', 'Value' => 'testValue2']]];
        $stub = $this->getMockForAbstractClass('\\AwsInspector\\Model\\AbstractResource', [$data]);
        $this->assertSame('testValue2', $stub->getTag('testKey2'));
    }