### Question:
PaymentMethodService { public static PaymentMethod get(final Context context, final String number) throws NetLicensingException { CheckUtils.paramNotEmpty(number, "number"); return NetLicensingService.getInstance().get(context, Constants.PaymentMethod.ENDPOINT_PATH + "/" + number, null, PaymentMethod.class); }  static PaymentMethod get(final Context context, final String number); static Page<PaymentMethod> list(final Context context, final String filter); static PaymentMethod update(final Context context, final String number, final PaymentMethod paymentMethod);  }### Answer:
@Test public void testGet() throws Exception { final PaymentMethod paymentMethod = PaymentMethodService.get(context, "PAYPAL"); assertNotNull(paymentMethod); assertEquals("PAYPAL", paymentMethod.getNumber()); assertEquals(true, paymentMethod.getActive()); assertEquals("sample_paypal_subject", paymentMethod.getProperties().get(PAYMENT_METHOD_CUSTOM_PROPERTY)); }