public void Should_throw_when_expectation_type_is_not_implemented() { // Arrange var expectation = new NotImplementedExpectation(); // Act & assert Assert.Throws <ArgumentOutOfRangeException>(() => _expectationGroup.ApplyExpectation(expectation)); }
public void Should_throw_when_expectation_type_is_not_implemented() { // Arrange var expectation = new NotImplementedExpectation(); // Act & assert Assert.Throws<ArgumentOutOfRangeException>(() => _expectationGroup.ApplyExpectation(expectation)); }