@Test public void getOrNull_A$_null() throws Exception { String value = null; Some<String> target = new Some<String>(value); String actual = target.getOrNull(); assertThat(actual, is(nullValue())); }
@Test public void getOrNull_A$() throws Exception { String value = "vvv"; Some<String> target = new Some<String>(value); String actual = target.getOrNull(); assertThat(actual, is(equalTo("vvv"))); }