public void assert_is_valid_with_errors() { theSolutionDependencies.Add(new Dependency("Test", "", UpdateMode.Fixed)); Exception <RippleFatalError> .ShouldBeThrownBy(() => theSolutionDependencies.AssertIsValid()); }