public void When_EmployeeHasAllSimCardsOccupied_then_EmployeeCantTakeNewSimCard()
        {
            SimCard  occupiedSimCard = SimCard.With(_anySimId, AnyDevice());
            Employee employee        = Employee.With(Guid.NewGuid(), new List <SimCard> {
                occupiedSimCard
            });

            bool result = employee.TakeNew(NewSimCard());

            Assert.That(employee.HasFreeSimCard(), Is.True);
            Assert.That(result, Is.True);
        }
        public void When_EmployeeHasNotFreeSimCard_then_EmployeeCantTakeNewDevice()
        {
            Device   device          = AnyDevice();
            SimCard  occupiedSimCard = SimCard.With(_anySimId, AnyDevice());
            Employee employee        = Employee.With(Guid.NewGuid(), new List <SimCard> {
                occupiedSimCard
            });

            bool result = employee.TakeNew(device);

            Assert.That(result, Is.False);
        }
        public void When_EmployeeReturnDevice_thenReturnAlsoSimCard()
        {
            Device   anyDevice       = AnyDevice();
            SimCard  occupiedSimCard = SimCard.With(_anySimId, anyDevice);
            Employee employee        = Employee.With(_anyEmployeeId, new List <SimCard> {
                occupiedSimCard
            });

            ReturnedDevice result = employee.Return(anyDevice);

            Assert.That(employee.HasFreeSimCard(), Is.False);
        }