Use of FirebaseMessagingException should be possible in unit tests
The FirebaseMessagingException class is sealed with an internal constructor and no interface. This means we cannot test our code that handles this exception because we can't create this type of exception nor can we mock it due to the lack of an interface.
4
votes