// Path: sorter/src/main/java/sortpom/exception/FailureException.java
// public class FailureException extends RuntimeException {
//     public FailureException(String msg, Throwable cause) {
//         super(msg, cause);
//     }
// 
//     public FailureException(String msg) {
//         super(msg);
//     }
// }


import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.function.Executable;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
import sortpom.exception.FailureException;
import java.util.stream.Stream;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.is;
import static org.hamcrest.core.IsEqual.equalTo;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
package sortpom.parameter;




class LineSeparatorParameterTest {

    @Test
    void lineSeparatorWithSomethingElseShouldThrowException() {

        final Executable testMethod = () -> PluginParameters.builder()
                .setEncoding("UTF-8")
                .setFormatting("***", false, true, false)
                .setIndent(2, false, false);

// Path: sorter/src/main/java/sortpom/exception/FailureException.java
// public class FailureException extends RuntimeException {
//     public FailureException(String msg, Throwable cause) {
//         super(msg, cause);
//     }
// 
//     public FailureException(String msg) {
//         super(msg);
//     }
// }


// Path: sorter/src/test/java/sortpom/parameter/LineSeparatorParameterTest.java
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.function.Executable;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
import sortpom.exception.FailureException;
import java.util.stream.Stream;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.is;
import static org.hamcrest.core.IsEqual.equalTo;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;

package sortpom.parameter;




class LineSeparatorParameterTest {

    @Test
    void lineSeparatorWithSomethingElseShouldThrowException() {

        final Executable testMethod = () -> PluginParameters.builder()
                .setEncoding("UTF-8")
                .setFormatting("***", false, true, false)
                .setIndent(2, false, false);

        final FailureException thrown = assertThrows(FailureException.class, testMethod);