Asserts { public static <T> void assertThat(T actual, Matcher<? super T> matcher) { assertThat("", actual, matcher); }  static void assertThat(T actual, Matcher<? super T> matcher); static void assertThat(String reason, T actual, Matcher<? super T> matcher); static void assertThat(String reason, boolean assertion); static boolean softAssertThat(String reason, T actual, Matcher<? super T> matcher); static boolean softAssertThat(T actual, Matcher<? super T> matcher); static boolean softAssertThat(String reason, boolean assertion); synchronized static void checkForErrors(); static boolean canMakeScreenshot(); static byte[] makeScreenshotIfPossible();  }
@Test public void test() { try { assertThat("expected string is not presented", "Some test".contains("assert")); } catch (Throwable e) { e.printStackTrace(); } try { assertThat("Some test", containsString("assert")); } catch (Throwable e) { e.printStackTrace(); } try { assertThat("expected string is not presented", "Some test", containsString("assert")); } catch (Throwable e) { e.printStackTrace(); } }