code: public <T extends Exception> void toThrow(Class<T> expectedExceptionClass, String expectedMessage) {
  		Arguments.ensureNotNull(expectedMessage, "expectedMessage cannot be null");
  		this.toThrow(expectedExceptionClass);
  		String exceptionMessage = this.exception.getMessage();
          Expectations.expectTrue(expectedMessage.equals(exceptionMessage),
                  "Expected exception message '%s' but was '%s'", expectedMessage, exceptionMessage);
  	}
docs: Checks if an exception of type {@code expectedExceptionClass} with message {@code expectedMessage} was thrown.
  <p>This method throws an {@code AssertionError} if:
  <ul>
  <li>no exception was thrown.</li>
  <li>the thrown exception is not an instance of {@code expectedExceptionClass}</li>
  <li>the message of the thrown exception is not equal {@code expectedMessage}</li>
  </ul>
  @param expectedExceptionClass the expected exception
  @param expectedMessage the expected message