public void CanAutoStartBeRemoved_ReturnsRemoveStatus(bool canBeRemoved) { A.CallTo(() => ConnectorService.CanBeRemoved(AutoStartEntry)).Returns(canBeRemoved); var ret = Service.CanAutoStartBeRemoved(AutoStartEntry); Assert.AreEqual(canBeRemoved, ret); A.CallTo(() => ConnectorService.CanBeRemoved(AutoStartEntry)).MustHaveHappenedOnceExactly(); }