BAEL-4516: Fix itest sample
This commit is contained in:
parent
10c8ff7a83
commit
1221273216
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue