Browse souce code repository at: https://github.com/jjYBdx4IL/java-evaluation/blob/master/src/test/java/tests/java/lang/enumeration/EnumImplementingExampleInterfaceTest.java
/*
 * #%L
 * Evaluation
 * %%
 * Copyright (C) 2016 Github jjYBdx4IL Projects
 * %%
 * #L%
 */
package tests.java.lang.enumeration;

import static org.junit.Assert.*;

import org.junit.Test;

/**
 * 
 * @author Github jjYBdx4IL Projects
 *
 */
public class EnumImplementingExampleInterfaceTest {

    public boolean someExampleMethod(ExampleInterface someEnumValue) {
        return EnumImplementingExampleInterface.ONE.equals(someEnumValue);
    }
    
    @Test
    public void test() {
        assertTrue(someExampleMethod(EnumImplementingExampleInterface.ONE));
        assertFalse(someExampleMethod(EnumImplementingExampleInterface.TWO));
        assertFalse(someExampleMethod(EnumImplementingExampleInterface2.ONE));
    }
}
-------------------------------------------------------------------------------
Test set: tests.java.lang.enumeration.EnumImplementingExampleInterfaceTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in tests.java.lang.enumeration.EnumImplementingExampleInterfaceTest
test  Time elapsed: 0 s