Reflection would not be involved at all. configuredProvider is protected and therefore a subclass may set it bypassing the setCDIProvider logic. However, it probably was not intended for the subclass to be able to do this so I would rather leave out the test.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira