    @Test
    public void curry() throws Exception {

        Func1<String, Func1<String, Func1<String, Func1<String, Func1<String, String>>>>> secondVariable = RxCurryingFunc
                .curry(new Func5<String, String, String, String, String, String>() {
                    @Override
                    public String call(String first, String second, String third, String fourth,
                            String fifth) {
                        return first + second + third + fourth + fifth;
                    }
                });
        String result = secondVariable.call("Hello ").call("This ").call("Is ").call("Curried ")
                .call("Func");
        Assert.assertEquals("Hello This Is Curried Func", result);
    }