Allow mocking built in classes (we cant get default parameter value, so just assume null)
Allow passing exception class to when()->throw method