public void parsing_a_value_that_is_neither_bottle_not_property_will_throw_up() { Exception <SettingsParserException> .ShouldBeThrownBy(() => { theParser.ParseText("junk"); }).Message.Contains(SettingsParser.INVALID_SYNTAX); }