using System.Collections.Generic; using System.Linq; using NUnit.Framework; using TINK.Model.Device; using TINK.Services.BluetoothLock; namespace TestTINKLib.Fixtures.ObjectTests.Services { [TestFixture] public class TestLocksServicesContainerMutable { [Test] public void TestCtorCustomServices() { var ciper = NSubstitute.Substitute.For(); var firstService = NSubstitute.Substitute.For(); Assert.That( new LocksServicesContainerMutable( firstService.GetType().FullName, new HashSet() { firstService } ).Count, Is.EqualTo(1)); } } }