August 31, 2015 • Tips Java • Bartosz Konieczny
No. This is a prof:
@Test public void should_not_throw_any_exception_on_casting_null_object() { DecimalFormat tested = null; Serializable castedTested = tested; assertThat(castedTested).isNull(); }
privacy policy © 2014 - 2025 waitingforcode.com. All rights reserved | Design: Jakub Kędziora