C#: How do I use Assert (Unit Testing) to verify that an exception has been thrown?
The title says it all - how do I use Assert (or other Test class?) do verify that an exception has been thrown? Thanks :) ...
The title says it all - how do I use Assert (or other Test class?) do verify that an exception has been thrown? Thanks :) ...
I'm currently refactoring a test suite built up by a colleague and would like to use Test::Class[::Most] while doing so. As I started I figured out I could really use a couple of Moose roles to decouple code a little bit. However, it seems it's not quite possible -- I'm getting error messages like this one: Prototype mismatch: sub My::T...