You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the ExpectedException class there is this import: import static org.hamcrest.CoreMatchers.containsString;
which cannot be resolved if you use hamcrest-all simply because the containsString method is in org.hamcrest.Matchers.
The text was updated successfully, but these errors were encountered:
You should always avoid to use hamcrest-all together with JUnit because hamcrest-all contains classes of hamcrest-core. Please use hamcrest-library if you need more than the core matchers.
Hi,
In the ExpectedException class there is this import:
import static org.hamcrest.CoreMatchers.containsString;
which cannot be resolved if you use hamcrest-all simply because the containsString method is in
org.hamcrest.Matchers.
The text was updated successfully, but these errors were encountered: