package nl.jft.logic.match;

import org.junit.Test;

import static org.junit.Assert.assertEquals;

/**
 * @author Lesley
 */
public class MatchTypeTest {

    @Test
    public void rated_whenCalled_returnsRated() {
        MatchType expected = MatchType.RATED;
        MatchType actual = MatchType.valueOf("RATED");

        assertEquals(expected, actual);
    }

    @Test
    public void friendly_whenCalled_returnsRated() {
        MatchType expected = MatchType.FRIENDLY;
        MatchType actual = MatchType.valueOf("FRIENDLY");

        assertEquals(expected, actual);
    }

}
@@ -402,37 +402,40 @@
 enCalled_returns
-Rated
+Friendly
 () %7B%0A        Mat

Fix typo in test.