Use isTrue() and isFalse() for AssertJ

Closes gh-12170
This commit is contained in:
Johnny Lim
2018-02-22 16:20:24 +09:00
committed by Stephane Nicoll
parent 865775e955
commit 2fe86da95b
11 changed files with 17 additions and 17 deletions

View File

@@ -246,7 +246,7 @@ public class LocalDevToolsAutoConfigurationTests {
StandardWrapper jspServletWrapper = (StandardWrapper) context.findChild("jsp");
EmbeddedServletOptions options = (EmbeddedServletOptions) ReflectionTestUtils
.getField(jspServletWrapper.getServlet(), "options");
assertThat(options.getDevelopment()).isEqualTo(true);
assertThat(options.getDevelopment()).isTrue();
}
private ConfigurableApplicationContext initializeAndRun(Class<?> config,