﻿using Microsoft.Data.Sqlite;
using Xunit;

namespace Parusnik.Data.Sqlite.Tests
{
    public class SqliteConnectionFactoryTests
    {
        [Fact]
        public void ConnectionFactoryCreatesExpectedTypes()
        {
            var connectionFactory = new SqliteConnectionFactory(@"Data Source=:memory");

            Assert.IsType<SqliteConnection>(connectionFactory.CreateConnection());
        }
    }
}