Update StringToBooleanUnitTest.java
This commit is contained in:
parent
fe2bab2224
commit
9bc1cf4864
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user