public void CanAct_NoopAction_ReturnTrue() { var subject = new UnitImpl(); var noop = new NoopAction(); Assert.True(subject.CanAttemptAction(noop)); }
public void ResetDisplay_SetAllFeaturesToZero() { //Setup var subject = new UnitImpl(); var display = new Mock <SensoryDisplay>(); subject.SetDisplay(display.Object); //Act subject.ResetDisplay(); //Assert display.Verify(d => d.Reset()); }