'Test that attributes are displayed correct.'

def test_attributes_representation(self):

    self.resolver.return_value = 'value1'
    attribs = attributes.Attributes('test    resource', self.attributes_schema, self.resolver)
    msg = 'Attributes    for    test    resource:\n DCTB value1\n DCTB value1\n DCTB value1'
    self.assertEqual(msg, str(attribs))
    calls = [mock.call('test1'), mock.call('test2'), mock.call('test3')]
    self.resolver.assert_has_calls(calls, any_order=True)
