### Question:
MonetaryFormat { public MonetaryFormat noCode() { if (codes == null) return this; else return new MonetaryFormat(negativeSign, positiveSign, zeroDigit, decimalMark, minDecimals, decimalGroups, shift, roundingMode, null, codeSeparator, codePrefixed); } MonetaryFormat();  MonetaryFormat(boolean useBitcoinSymbol); private  MonetaryFormat(char negativeSign, char positiveSign, char zeroDigit, char decimalMark, int minDecimals,
            List<Integer> decimalGroups, int shift, RoundingMode roundingMode, String[] codes,
            char codeSeparator, boolean codePrefixed); MonetaryFormat negativeSign(char negativeSign); MonetaryFormat positiveSign(char positiveSign); MonetaryFormat digits(char zeroDigit); MonetaryFormat decimalMark(char decimalMark); MonetaryFormat minDecimals(int minDecimals); MonetaryFormat optionalDecimals(int... groups); MonetaryFormat repeatOptionalDecimals(int decimals, int repetitions); MonetaryFormat shift(int shift); MonetaryFormat roundingMode(RoundingMode roundingMode); MonetaryFormat noCode(); MonetaryFormat code(int codeShift, String code); MonetaryFormat codeSeparator(char codeSeparator); MonetaryFormat prefixCode(); MonetaryFormat postfixCode(); MonetaryFormat withLocale(Locale locale); CharSequence format(Monetary monetary); Coin parse(String str); Fiat parseFiat(String currencyCode, String str); String code(); @Override boolean equals(final Object o); @Override int hashCode(); static final MonetaryFormat QTUM; static final MonetaryFormat MQTUM; static final MonetaryFormat UQTUM; static final MonetaryFormat FIAT; static final String CODE_QTUM; static final String CODE_MQTUM; static final String CODE_UQTUM; static final String SYMBOL_QTUM; static final String SYMBOL_MQTUM; static final String SYMBOL_UQTUM; static final int MAX_DECIMALS; }### Answer:
@Test public void noCode() throws Exception { assertEquals("0", MonetaryFormat.UQTUM.noCode().shift(0).format(Coin.ZERO).toString()); assertEquals("dQTUM 0", MonetaryFormat.UQTUM.noCode().code(1, "dQTUM").shift(1).format(Coin.ZERO).toString()); }