+ def test_several_things(self):
+ contact = FakeContact([known_address])
+ self._fake_server_response({known_address: 'http://image.exists.here/',
+ 'extra@here': 'http://nowhere'})
+
+ self.testee.pre_process_contact(contact);
+ self.testee.process_friends()
+ friend = self.testee.process_contact(contact)
+
+ assert isinstance(friend, Friend)
+ assert len(self.testee.get_friends_to_create_contacts_for()) == 0
+ assert len(self.testee.get_unmatched_friends()) == 0 # doesn't matter should always
+
+