// Path: core/src/main/java/au/com/sensis/stubby/service/model/MatchField.java
// public enum MatchType {
//     NOT_FOUND,
//     MATCH_FAILURE,
//     MATCH;
// }


import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.when;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import au.com.sensis.stubby.service.model.MatchField.MatchType;
package au.com.sensis.stubby.service.model;





@RunWith(MockitoJUnitRunner.class)
public class MatchResultTest {

    @Mock
    private MatchField field1;
    @Mock
    private MatchField field2;
    @Mock
    private MatchField field3;
    
    private MatchResult result1;
    private MatchResult result2;
    
    @Before
    public void before() {
        when(field1.score()).thenReturn(1);
        when(field2.score()).thenReturn(2);
        when(field3.score()).thenReturn(3);
        
// Path: core/src/main/java/au/com/sensis/stubby/service/model/MatchField.java
// public enum MatchType {
//     NOT_FOUND,
//     MATCH_FAILURE,
//     MATCH;
// }


// Path: core/src/test/java/au/com/sensis/stubby/service/model/MatchResultTest.java
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.when;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import au.com.sensis.stubby.service.model.MatchField.MatchType;

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





@RunWith(MockitoJUnitRunner.class)
public class MatchResultTest {

    @Mock
    private MatchField field1;
    @Mock
    private MatchField field2;
    @Mock
    private MatchField field3;
    
    private MatchResult result1;
    private MatchResult result2;
    
    @Before
    public void before() {
        when(field1.score()).thenReturn(1);
        when(field2.score()).thenReturn(2);
        when(field3.score()).thenReturn(3);
        
        when(field1.getMatchType()).thenReturn(MatchType.MATCH_FAILURE);