Package net.emaze.dysfunctional.dispatching.logic

Source Code of net.emaze.dysfunctional.dispatching.logic.IsTrueTest

package net.emaze.dysfunctional.dispatching.logic;

import net.emaze.dysfunctional.dispatching.logic.IsTrue;
import org.junit.Assert;
import org.junit.Test;

/**
*
* @author rferranti
*/
public class IsTrueTest {

    @Test
    public void trueIsTrue() {
        Assert.assertTrue(new IsTrue().accept(Boolean.TRUE));
    }

    @Test
    public void falseIsNotTrue() {
        Assert.assertFalse(new IsTrue().accept(Boolean.FALSE));
    }
}
TOP

Related Classes of net.emaze.dysfunctional.dispatching.logic.IsTrueTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.