この記事の仲間です。 DBからぽんと取ったデータはBigInteger、こっちで比較しなきゃいけないデータはIntegerで困りましたね。 先に結論 assertEquals(BigInteger.valueOf(比べられるInteger), 比べるBigInteger); BigIntegerの方が桁数がでかいので、BigIntegerの方にあわせてあげる ...
In my blog post Are Static Imports Becoming Increasingly Accepted in Java?, I discussed the increasing use of static imports in Java to make code more fluent in certain contexts. Unit testing in Java ...
現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする