public void can_add_new_key_to_database() { PatchEnLocaleWithExtraStuff(); var extra = new ExtraStuff(); extra.JunkFood().Should().Be("Pizza"); extra.Drink().Should().Be("Pepsi"); }
public void should_be_able_to_reset_a_locale() { PatchEnLocaleWithExtraStuff(); var extra = new ExtraStuff(); extra.JunkFood().Should().Be("Pizza"); Database.ResetLocale("en"); Action error = () => extra.JunkFood().Should().Be("Pizza"); error.ShouldThrow <NullReferenceException>(); }