mardi 29 septembre 2015

Mocking NSBundle infoDictionary

What is the correct way to mock NSBundle's infoDictionary in a Swift unit test?

If I try to override the method I get a number of errors and warnings

enter image description here

Also, how should a stored property be overriden in unit tests?

Aucun commentaire:

Enregistrer un commentaire