There are 2 methods
assertThat(EmailValidator.isValidEmail("name@email.com"), is(true)); and
assertTrue(EmailValidator.isValidEmail("name@email.com")); What is their difference? I understand they do the same thing ...
When to use one and when another?
assertThatmore intelligible information is written in the log ... It’s better to use this method where I can use it ... - Aleksey TimoshchenkoassertTrue(), assertFalse() и т.д.? - Aleksey TimoshchenkoassertTrue(x instanceof Y), which will save time on a small project, but with proper writing of tests there should beassertThat(x, <нужный матчер>)- etki