public void Create_PassEmptyStringParameter_ThrowsException()
        {
            //Arrange
            var parameter = string.Empty;
            var factory = new SqlConnectionFactory();

            //Act
            factory.Create(parameter);
        }
        public void Create_PassNullParameter_ThrowsException()
        {
            //Arrange
            string parameter = null;
            var factory = new SqlConnectionFactory();

            //Act
            factory.Create(parameter);
        }
        public void Create_PassValidConnectionString_ThrowsException()
        {
            //Arrange
            var parameter = @"Server=(localdb)\ProjectsV12;Database=DemoDatabase;Integrated security=True";
            var factory = new SqlConnectionFactory();

            //Act
            var result = factory.Create(parameter);

            //Assert
            Assert.IsNotNull(result);
        }