public void transient_EffortConnection_should_unregister_container2()
        {
            EffortConnectionMock conn = new EffortConnectionMock();
            conn.ConnectionString = "IsTransient=True";

            conn.Dispose();

            conn.IsUnregisterContainerCalled.Should().BeTrue();
        }
        public void transient_EffortConnection_should_unregister_container()
        {
            EffortConnectionMock conn = new EffortConnectionMock();
            conn.MarkAsPrimaryTransient();

            conn.Dispose();

            conn.IsUnregisterContainerCalled.Should().BeTrue();
        }