'Test that Output format works as expected.'

def test_as_outputs(self):

    expected = {'test1': {'Value': {'Fn::GetAtt': ['test_resource', 'test1']}, 'Description': 'Test    attrib    1'}, 'test2': {'Value': {'Fn::GetAtt': ['test_resource', 'test2']}, 'Description': 'Test    attrib    2'}, 'test3': {'Value': {'Fn::GetAtt': ['test_resource', 'test3']}, 'Description': 'Test    attrib    3'}, 'OS::stack_id': {'Value': {'Ref': 'test_resource'}}}
    MyTestResourceClass = mock.MagicMock()
    MyTestResourceClass.attributes_schema = {'test1': attributes.Schema('Test    attrib    1'), 'test2': attributes.Schema('Test    attrib    2'), 'test3': attributes.Schema('Test    attrib    3'), 'test4': attributes.Schema('Test    attrib    4', support_status=support.SupportStatus(status=support.HIDDEN))}
    self.assertEqual(expected, attributes.Attributes.as_outputs('test_resource', MyTestResourceClass))
