### Question:
Payers { public static Payer newBasicPayer(PayerConfig payerConfig) { return new BasicPayer(payerConfig); } private  Payers(); static Payer newBasicPayer(PayerConfig payerConfig);  }### Answer:
@Test public void testCreatePayer() throws Exception { File matcherPublicKeyFile = BritTestUtils.makeFile(BritTestUtils.TEST_MATCHER_PUBLIC_KEY_FILE); FileInputStream matcherPublicKeyInputStream = new FileInputStream(matcherPublicKeyFile); PGPPublicKey matcherPGPPublicKey = PGPUtils.readPublicKey(matcherPublicKeyInputStream); log.debug("Matcher public key id = " + matcherPGPPublicKey.getKeyID()); PayerConfig payerConfig = new PayerConfig(matcherPGPPublicKey); Payer payer = Payers.newBasicPayer(payerConfig); assertThat(payer).isNotNull(); assertThat(payer.getConfig().getMatcherPublicKey()).isEqualTo(matcherPGPPublicKey); }