@@ -0,0 +1,1029 @@
+package de.retest.recheck.printer;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0Aimport static org.mockito.Mockito.mock;%0Aimport static org.mockito.Mockito.when;%0A%0Aimport org.junit.jupiter.api.Test;%0A%0Aimport de.retest.recheck.report.SuiteReplayResult;%0Aimport de.retest.recheck.report.TestReplayResult;%0A%0Aclass SuiteReplayResultTest %7B%0A%0A%09@Test%0A%09void isEmpty_should_return_true_if_no_differences() throws Exception %7B%0A%09%09final TestReplayResult test = mock( TestReplayResult.class );%0A%09%09when( test.isEmpty() ).thenReturn( true );%0A%0A%09%09final SuiteReplayResult cut = new SuiteReplayResult( %22foo%22, 0, null, null, null );%0A%09%09cut.addTest( test );%0A%0A%09%09assertThat( cut.isEmpty() ).isTrue();%0A%09%7D%0A%0A%09@Test%0A%09void isEmpty_should_return_false_if_differences() throws Exception %7B%0A%09%09final TestReplayResult test = mock( TestReplayResult.class );%0A%09%09when( test.isEmpty() ).thenReturn( false );%0A%0A%09%09final SuiteReplayResult cut = new SuiteReplayResult( %22foo%22, 0, null, null, null );%0A%09%09cut.addTest( test );%0A%0A%09%09assertThat( cut.isEmpty() ).isFalse();%0A%09%7D%0A%7D%0A

Add test for wrong behavior