@@ -0,0 +1,784 @@
+package de.retest.recheck;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0Aimport static org.mockito.Mockito.mock;%0A%0Aimport org.junit.jupiter.api.Test;%0A%0Aclass RecheckOptionsTest %7B%0A%0A%09@Test%0A%09void should_reuse_file_namer_strategy_for_suite_name() throws Exception %7B%0A%09%09final FileNamerStrategy fileNamerStrategy = mock( FileNamerStrategy.class );%0A%0A%09%09final RecheckOptions cut = RecheckOptions.builder() //%0A%09%09%09%09.fileNamerStrategy( fileNamerStrategy ) //%0A%09%09%09%09.build();%0A%0A%09%09assertThat( cut.getSuiteName() ).isEqualTo( fileNamerStrategy.getTestClassName() );%0A%09%7D%0A%0A%09@Test%0A%09void should_use_suite_name_if_set() throws Exception %7B%0A%09%09final RecheckOptions cut = RecheckOptions.builder() //%0A%09%09%09%09.suiteName( %22bar%22 ) //%0A%09%09%09%09.build();%0A%09%09assertThat( cut.getSuiteName() ).isEqualTo( %22bar%22 );%0A%09%7D%0A%0A%7D%0A

Add (failing) tests for expected behavior