text: import { GeneseMapper } from '../mapper/genese.mapper';
  describe('GENESE MAPPER FACTORY', function () {
      var gmp = new GeneseMapper(Object);
      // **************************************************************************
      // _castStringAndNumbers
      // **************************************************************************
      describe('_castStringAndNumbers', function () {
          it('undefined, {a: 1} => undefined', function () {
              expect(gmp._castStringAndNumbers(undefined, { a: 1 }) === undefined).toBeTruthy();
          });
          it('{a: 1}, undefined => undefined', function () {
              expect(gmp._castStringAndNumbers({ a: 1 }, undefined) === undefined).toBeTruthy();
          });
          it('{a: 1}, null => undefined', function () {
              expect(gmp._castStringAndNumbers({ a: 1 }, null) === undefined).toBeTruthy();
          });
          it('string1, string1 => string1', function () {
              expect(gmp._castStringAndNumbers('string1', 'string1') === 'string1').toBeTruthy();
          });
          it('1, 1 => 1', function () {
              expect(gmp._castStringAndNumbers(1, 1) === 1).toBeTruthy();
          });
          it('string1, string2 => string2', function () {
              expect(gmp._castStringAndNumbers('string1', 'string2') === 'string2').toBeTruthy();
          });
          it('string1, 1 => "1"', function () {
              expect(gmp._castStringAndNumbers('string1', 1) === '1').toBeTruthy();
          });
          it('2, "1" => 1', function () {
              expect(gmp._castStringAndNumbers(2, '1') === 1).toBeTruthy();
          });
          it('{a: 1}, {a: 2} => undefined', function () {
              expect(gmp._castStringAndNumbers({ a: 1 }, { a: 2 }) === undefined).toBeTruthy();
          });
          it('{a: 1}, {a: 1} => {a: 1}', function () {
              expect(gmp._castStringAndNumbers({ a: 1 }, { a: 1 }) === undefined).toBeTruthy();
          });
          it('{a: 1}, {a: 2} => true', function () {
              expect(gmp._castStringAndNumbers({ a: 1 }, { a: 2 }) === undefined).toBeTruthy();
          });
      });
  });
  