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

getAssocTagsReturnsExpectedArray() public method

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