mikeedwards83/Glass.Mapper — pull request #64 by drachele (2014-06-02 02:27:43+00:00)
Title: Make the properties of the Image and File property types virtual.

Make the properties of the Image and File property types virtual. This allows the use of mocking frameworks when doing unit testing.

Currently am unable to create a stub or mock object using these classes as there is no way to overwrite the property getters. Also, because the "set" on the Src property is "internal", it is impossible to set the Src property when this object is participating in unit tests.

It might be easier to just make the Src property read/write (for my purposes), but I feel this allows for greater flexibility.

Thanks,

Dan.