Enterprise Library 6 - abstract classes made solid

Topics: Enterprise Library Core, Exception Handling Application Block, Logging Application Block
Jul 4, 2013 at 2:20 PM
Edited Jul 4, 2013 at 2:21 PM
This was a huge itch you know where. All my unit tests failed after the update, only because ExceptionManager and LogWriter lost their abstraction and were made solid implementations. This took me a while to realise.

Enterprise library is boasting decoupled architecture, but this update just means to me I have to create another layer just to abstract these blocks out so I can mock them in my unit tests.

Also, no interfaces are used in this library.

Maybe I'm missing some important knowledge on how to work with these objects?