Fix itest sample
@@ -13,19 +13,13 @@ import com.google.common.collect.ImmutableList;
public class SourceSetsItest {
@Test
- public void whenRun_ThenSuccess() {
+ public void givenImmutableList_whenRun_ThenSuccess() {
SourceSetsObject underTest = new SourceSetsObject("lorem", "ipsum");
+ List<String> someStrings = ImmutableList.of("Baeldung", "is", "cool");
assertThat(underTest.getUser(), is("lorem"));
assertThat(underTest.getPassword(), is("ipsum"));
- }
-
- @Test
- public void givenImmutableList_whenRun_ThenSuccess() {
-
- List<String> someStrings = ImmutableList.of("Baeldung", "is", "cool");
-
assertThat(someStrings.size(), is(3));
}
}
