public void Test1() { // Arrange var sut = new MachineManager(_fixture.Create <IMachineFactory>(), 10); // Act sut.GetMachine("M1").MachineName.Should().Be("M1"); }