public void ToModel_FullName_Test()
        {
            // init vars
            var customerEntity = new CustomerEntity
            {
                BusinessPartnerId = 1002647070,
                FullName          = "JENNIFER L POWERS",
                FirstName         = "JENNIFER",
                MiddleName        = "L",
                LastName          = "POWERS",
                EmployerName      = "Puget Sound Energy",
                PvaIndicator      = true
            };

            var model = customerEntity.ToModel();

            model.ShouldNotBeNull();
            model.ShouldBeOfType <CustomerProfileModel>();
            model.CustomerName.ShouldBe(customerEntity.FullName);
            model.OrganizationName.ShouldBe(customerEntity.EmployerName);
            model.IsPva.ShouldBe(customerEntity.PvaIndicator);
            model.FirstName.ShouldBe(customerEntity.FirstName);
            model.MiddleName.ShouldBe(customerEntity.MiddleName);
            model.LastName.ShouldBe(customerEntity.LastName);
        }
        private void TestToModelNullParameters(CustomerEntity source, string expectedParamName)
        {
            try
            {
                //Act
                source.ToModel();

                //Assert
                Assert.Fail("The expected ArgumentNullException was not thrown.");
            }
            catch (ArgumentNullException ex)
            {
                Console.WriteLine(ex);

                //Assert
                expectedParamName.ShouldBe(ex.ParamName);
            }
        }