Remove duplicate asserts in unit tests
@@ -550,7 +550,6 @@ public class PicoCliDelegateTest {
assertThat(result).isNotNull();
assertThat(result.getConfig()).isPresent();
- assertThat(result.getConfig()).isPresent();
assertThat(result.getStatus()).isEqualTo(0);
assertThat(result.isSuppressStartup()).isFalse();
@@ -568,7 +567,6 @@ public class PicoCliDelegateTest {
assertThat(result).isNotNull();
assertThat(result.getConfig()).isPresent();
- assertThat(result.getConfig()).isPresent();
assertThat(result.getStatus()).isEqualTo(0);
assertThat(result.isSuppressStartup()).isFalse();
@@ -582,7 +580,6 @@ public class PicoCliDelegateTest {
assertThat(result).isNotNull();
assertThat(result.getConfig()).isPresent();
- assertThat(result.getConfig()).isPresent();
assertThat(result.getStatus()).isEqualTo(0);
assertThat(result.isSuppressStartup()).isFalse();
@@ -598,7 +595,6 @@ public class PicoCliDelegateTest {
assertThat(result).isNotNull();
assertThat(result.getConfig()).isPresent();
- assertThat(result.getConfig()).isPresent();
assertThat(result.getStatus()).isEqualTo(0);
assertThat(result.isSuppressStartup()).isFalse();
@@ -616,7 +612,6 @@ public class PicoCliDelegateTest {
assertThat(result).isNotNull();
assertThat(result.getConfig()).isPresent();
- assertThat(result.getConfig()).isPresent();
assertThat(result.getStatus()).isEqualTo(0);
Config config = result.getConfig().get();
