Package net.emaze.dysfunctional.dispatching.delegates

Source Code of net.emaze.dysfunctional.dispatching.delegates.FirstParamOfThreeTest

package net.emaze.dysfunctional.dispatching.delegates;

import net.emaze.dysfunctional.testing.O;
import org.junit.Assert;
import org.junit.Test;

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

    @Test
    public void canCaptureFirstParam() {
        final O got = new FirstParamOfThree<O, O, O>().perform(O.ONE, O.IGNORED, O.IGNORED);
        Assert.assertEquals(O.ONE, got);
    }
}
TOP

Related Classes of net.emaze.dysfunctional.dispatching.delegates.FirstParamOfThreeTest

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.