Javaã§ã®ãã¹ãã¯JUnit4ã使ããã¦ããã¨æãã¾ãããèªåã¨ãã¦ã¯ãããã«å ãã¦AssertJããªã¹ã¹ã¡ãã¾ãã AssertJ AssertJã使ããããçç± JUnit4ã®assertThatã¨æ¯ã¹ã¦AssertJã使ããããçç±ã¯2ã¤ããã¾ãã æµãããããªã¤ã³ã¿ã¼ãã§ã¼ã¹ AssertJã¯ãFluent assertions for javaãã¨ããããã¼ã¸ã«å¤§ããæ¸ããã¦ããããã«ãæµãããããªã¤ã³ã¿ã¼ãã§ã¼ã¹ãæ大ã®ç¹å¾´ã§ãããã¡ãã¡ããã¥ã¡ã³ãã調ã¹ãªãã¦ããIDEã®è£å®æ©è½ã§é©åãªã¡ã½ããã調ã¹ãããã®ã§ãJUnit4ã®assertThatã«æ¯ã¹ã¦æ¸ããããã§ãã æ¡å¼µãMatcherã«æ¯ã¹ã¦é¥ãã«æ¥½ Matcherã®æ¡å¼µå¯¾è±¡ã¯ãæ¯è¼æ¹æ³ãã§ãAssertJã®æ¡å¼µå¯¾è±¡ã¯ãã¯ã©ã¹ããªã®ã§æ¯è¼ããã®ã¯é©åã§ã¯ãªãããããã¾ããããMatcherã®æ¡å¼µãé´ã®ä¸ãã足ãæ»ãæ
{{#tags}}- {{label}}
{{/tags}}