// Path: core/src/main/java/au/com/sensis/stubby/service/model/MatchField.java
// public enum FieldType {
//     PATH,
//     METHOD,
//     QUERY_PARAM,
//     HEADER,
//     BODY;
// }


import au.com.sensis.stubby.service.model.MatchField.FieldType;
import static org.junit.Assert.assertEquals;
import java.util.regex.Pattern;
import org.junit.Test;
package au.com.sensis.stubby.service.model;





public class MatchFieldTest {

    @Test
    public void ensurePatternsMatch() {
// Path: core/src/main/java/au/com/sensis/stubby/service/model/MatchField.java
// public enum FieldType {
//     PATH,
//     METHOD,
//     QUERY_PARAM,
//     HEADER,
//     BODY;
// }


// Path: core/src/test/java/au/com/sensis/stubby/service/model/MatchFieldTest.java
import au.com.sensis.stubby.service.model.MatchField.FieldType;
import static org.junit.Assert.assertEquals;
import java.util.regex.Pattern;
import org.junit.Test;

package au.com.sensis.stubby.service.model;





public class MatchFieldTest {

    @Test
    public void ensurePatternsMatch() {
        MatchField field1 = new MatchField(FieldType.BODY, "foo", Pattern.compile(".*")).asMatchFailure("bar");