public void CanAutoStartBeAdded_ReturnsAddStatus(bool canBeAdded) { A.CallTo(() => ConnectorService.CanBeAdded(AutoStartEntry)).Returns(canBeAdded); var ret = Service.CanAutoStartBeAdded(AutoStartEntry); Assert.AreEqual(canBeAdded, ret); A.CallTo(() => ConnectorService.CanBeAdded(AutoStartEntry)).MustHaveHappenedOnceExactly(); }