What is AssertJ
AssertJ is opensource library used for JAVA testing
What is the Unit
Unit is an automated test framework
What is the difference between Junit and AssertJ
Junit: Test Frame work for JAVA Test
Assert:
- Open Source Library for JAVA testing
- more fluent and rich
When `cannot resolve symbol ‘assertthat’ gradle project’ is happened
You should put this code
1
import static org.assertj.core.api.Assertions.assertThat;
ref:
https://stackoverflow.com/questions/69021564/assertj-assertions-assertthat-is-not-resolved