def test__wrap(self):
        source = "test"
        wrap = "test_wrap({0})"
        expected = "test_wrap(test)"
        ep = EP(wrap=wrap)

        wrapped = ep._wrap(source)

        assert_equal(expected, wrapped)