Package net.emaze.dysfunctional.dispatching.delegates

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

package net.emaze.dysfunctional.dispatching.delegates;

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

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

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

}
TOP

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

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.