### Question:
Card implements Jsonable { @Nullable public String getMaskedPan() { return maskedPan; } Card();   Card(String maskedPan, String cardholderName, String expiryDate, Token token, AdditionalData additionalData); static Card getEmptyCard(); @Nullable String getMaskedPan(); @Nullable String getCardholderName(); @Nullable String getExpiryDate(); @Nullable String getFormattedExpiryDate(String pattern); @Nullable Token getCardToken(); @NonNull AdditionalData getAdditionalData(); boolean isEmpty(); @Override String toJson(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void shouldAllowPanWithLessThan10Digits() throws Exception { Card card = new Card("123456789XXXXXX", "Mr T", "0102", null, null); assertThat(card.getMaskedPan()).isEqualTo("123456789XXXXXX"); }