public bool HasBeenInstalled_(MachinePrerequisite machinePreq, IFixture fixture) { // Arrange var mwInstllr = fixture.NewMachineWideInstaller(); // Act, Assert var result = mwInstllr.HasBeenInstalled(machinePreq); fixture.Freeze<Mock<IEnvironmentRepository>>().VerifyAll(); return result; }