using System.Collections.Generic; using System.Linq; using NUnit.Framework; using ShareeBike.Model.Device; using ShareeBike.Services.BluetoothLock; namespace SharedBusinessLogic.Tests.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)); } } }