Merge test for exception type and message IMO this is conceptually one assert because the message and the exception type are strongly coupled.
JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.
For more information, please visit: