public void Application_Person_Create_Test(string firstName, string lastName, int age)
 {
     handler.Apply(new CreateNewPersonCommand()
     {
         FirstName = firstName,
         LastName  = lastName,
         Age       = age
     });
 }
        public void Application_Person_Modify_Test(int id, string firstName, string lastName, int age)
        {
            handler.Apply(new CreateNewPersonCommand()
            {
                FirstName = firstName,
                LastName  = lastName,
                Age       = age
            });

            handler = iocProvider.GetContainer().Resolve <IPersonCommandServiceContract>();

            handler.Apply(new ModifyExistingPersonCommand()
            {
                Id        = id,
                FirstName = firstName,
                LastName  = lastName,
                Age       = age
            });
        }