public void Should_not_be_possible_check_external_variable_existence_with_a_non_existent_definition_file() { MockRepository mocks = new MockRepository(); var helper = new ExternalVariableHelper(); string errors; mocks.ReplayAll(); helper.IsThereExternalVariable("definitions.xml", out errors); mocks.VerifyAll(); Assert.IsNotNull(errors); Assert.AreEqual(Resource.OVALDefinitionsFileNotFound, errors); }