Buggy code:
public class ReceiptUtils { public static class Constants { public static final int ID = 0 ; public static final int INDEX = 4 ; public static final String CATEGORY = "Lunch" ; public static final String COMMENT = "" ; public static final String CURRENCY_CODE = "USD" ; public static final WBCurrency CURRENCY = WBCurrency . getInstance ( ReceiptUtils . Constants . CURRENCY_CODE ) ; public static final long DATE_MILLIS = 1409703721000L ; public static final Date DATE = new Date ( ReceiptUtils . Constants . DATE_MILLIS ) ; public static final String SLASH_FORMATTED_DATE = "Sep//02//2014" ; public static final String DASH_FORMATTED_DATE = "Sep-02-2014" ; public static final String EXTRA1 = "extra1" ; public static final String EXTRA2 = "extra2" ; public static final String EXTRA3 = "extra3" ; public static final File IMAGE_FILE = new File ( "//Android//data//wb.receipts//files//Report//img.jpg" ) ; public static final String IMAGE_FILE_NAME = "img.jpg" ; public static final File PDF_FILE = new File ( "//Android//data//wb.receipts//files//Report//pdf.pdf" ) ; public static final String PDF_FILE_NAME = "pdf.pdf" ; public static final boolean IS_EXPENSABLE = true ; public static final boolean IS_FULLPAGE = false ; public static final boolean IS_SELECTED = true ; public static final String NAME = "Name" ; public static final double PRICE = 12.55 ; public static final String DECIMAL_FORMATTED_PRICE = "12.55" ; public static final String CURRENCY_FORMATTED_PRICE = "$12.55" ; public static final double TAX = 0.37 ; public static final String DECIMAL_FORMATTED_TAX = "0.37" ; public static final String CURRENCY_FORMATTED_TAX = "$0.37" ; public static final TimeZone TIMEZONE = TimeZone . getDefault ( ) ; public static final String TIMEZONE_CODE = ReceiptUtils . Constants . TIMEZONE . getID ( ) ; } public static ReceiptBuilderFactory newDefaultReceiptBuilderFactory ( ) { } public static Receipt newDefaultReceipt ( ) { } public static File createRoboElectricStubFile ( String filename ) { } public static void assertFieldEquality ( Receipt receipt1 , Receipt receipt2 ) { } public static void assertFieldEqualityIgnoringParent ( Receipt receipt1 , Receipt receipt2 ) { } public static void assertFieldEqualityWithDateFuzzing ( Receipt receipt1 , Receipt receipt2 ) { } private static void assertFieldEqualityHelper ( Receipt receipt1 , Receipt receipt2 ) { assertEquals ( receipt1 . getComment ( ) , receipt2 . getComment ( ) ) ; assertEquals ( receipt1 . getCategory ( ) , receipt2 . getCategory ( ) ) ; assertEquals ( receipt1 . getExtraEditText1 ( ) , receipt2 . getExtraEditText1 ( ) ) ; assertEquals ( receipt1 . getExtraEditText2 ( ) , receipt2 . getExtraEditText2 ( ) ) ; assertEquals ( receipt1 . getExtraEditText3 ( ) , receipt2 . getExtraEditText3 ( ) ) ; assertEquals ( receipt1 . getFile ( ) , receipt2 . getFile ( ) ) ; assertEquals ( receipt1 . isExpensable ( ) , receipt2 . isExpensable ( ) ) ; assertEquals ( receipt1 . isFullPage ( ) , receipt2 . isFullPage ( ) ) ; assertEquals ( receipt1 . isSelected ( ) , receipt2 . isSelected ( ) ) ; assertEquals ( receipt1 . getName ( ) , receipt2 . getName ( ) ) ; assertEquals ( receipt1 . getPrice ( ) , receipt2 . getPrice ( ) ) ; <START_BUG> assertEquals ( receipt1 . getTax ( ) , receipt2 . getPrice ( ) ) ; <END_BUG> assertEquals ( receipt1 . getTimeZone ( ) , receipt2 . getTimeZone ( ) ) ; assertEquals ( receipt1 . getPaymentMethod ( ) , receipt2 . getPaymentMethod ( ) ) ; } public static void assertFieldEqualityPlusIdAndIndex ( Receipt receipt1 , Receipt receipt2 ) { } public static void assertFieldEqualityWithDateFuzzingPlusIdAndIndex ( Receipt receipt1 , Receipt receipt2 ) { } }

Fix:
assertEquals ( receipt1 . getTax ( ) , receipt2 . getTax ( ) ) ;