Update StringToBooleanUnitTest.java
This commit is contained in:
@@ -24,6 +24,7 @@ public class StringToBooleanUnitTest {
|
|||||||
@Test
|
@Test
|
||||||
public void givenSystemProperty_whenUsingGetBoolean_thenTrue() {
|
public void givenSystemProperty_whenUsingGetBoolean_thenTrue() {
|
||||||
System.setProperty("CODING_IS_FUN", "true");
|
System.setProperty("CODING_IS_FUN", "true");
|
||||||
|
|
||||||
assertThat(Boolean.getBoolean("CODING_IS_FUN")).isTrue();
|
assertThat(Boolean.getBoolean("CODING_IS_FUN")).isTrue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user