func TestSplitMapProcessor(t *testing.T) {
	assert := audit.NewTestingAssertion(t, true)
	sep := "the"
	upperCaser := stringex.WrapProcessorFunc(strings.ToUpper)
	splitMapper := stringex.NewSplitMapProcessor(sep, upperCaser)
	value, ok := splitMapper("the quick brown fox jumps over the lazy dog")
	assert.True(ok)
	assert.Equal(value, "the QUICK BROWN FOX JUMPS OVER the LAZY DOG")
}
TestSplitMapProcessor tests the splitting and mapping.
package stringex_test
import (
	"strings"
	"testing"
	"github.com/tideland/golib/audit"
	"github.com/tideland/golib/stringex"
)
func TestWrapping(t *testing.T) {
	assert := audit.NewTestingAssertion(t, true)
	upperCaser := stringex.WrapProcessorFunc(strings.ToUpper)
	value, ok := upperCaser("test")
	assert.True(ok)
	assert.Equal(value, "TEST")
}