var camelize = require('../../../../lib/string/camelize');

exports['Camelize a string'] = function (test) {
    test.equal(camelize('foo_bar'), 'fooBar');
    test.equal(camelize('_bar_baz'), '_barBaz');
    test.equal(camelize(''), '');
    test.strictEqual(camelize(null), null);
    test.strictEqual(camelize(undefined), undefined);
    test.strictEqual(camelize('foo_bar', true), 'FooBar');
    test.done();
};