diff --git a/core-java-modules/core-java-lang-3/src/test/java/com/baeldung/stringtoboolean/StringToBooleanUnitTest.java b/core-java-modules/core-java-lang-3/src/test/java/com/baeldung/stringtoboolean/StringToBooleanUnitTest.java index f87fad1c01..37963aec46 100644 --- a/core-java-modules/core-java-lang-3/src/test/java/com/baeldung/stringtoboolean/StringToBooleanUnitTest.java +++ b/core-java-modules/core-java-lang-3/src/test/java/com/baeldung/stringtoboolean/StringToBooleanUnitTest.java @@ -4,8 +4,8 @@ import static org.assertj.core.api.Assertions.assertThat; import org.junit.Test; -public class StringToBooleanUnitTest -{ +public class StringToBooleanUnitTest { + @Test public void givenStringTrue_whenUsingParseBoolean_thenTrue() { assertThat(Boolean.parseBoolean("true")).isTrue();