Use getFields to get public fields instead of all fields

On coverage builds, it seems like there are some non-public fields
injected into types, which causes tests to fail. Use getFields instead
of getDeclaredFields so that we're only mucking about with the
public interface of our ProvisionedKey POJO in the tests.

Test: RkpdAppUnitTests (with coverage enabled)
Change-Id: I65743f5a38417a91c23b8d47085daea49a99835b
1 file changed
tree: 02cd2efdccdd9bd521dd84f750832d908927fd2a
  1. apex/
  2. app/
  3. system-server/
  4. OWNERS
  5. PREUPLOAD.cfg