public void Should_return_changed_null_tree_when_disabled_and_there_is_no_previous_result() { var result = disabledUpdater.Update(null); result.Changed.Should().BeTrue(); result.Tree.Should().BeNull(); }
public void Should_return_changed_null_tree_without_parsing_zone_if_folder_does_not_exist_and_there_is_no_previous_result() { folder.Delete(true); var result = enabledUpdater.Update(null); zoneParser.ReceivedCalls().Should().BeEmpty(); result.Changed.Should().BeTrue(); result.Tree.Should().BeNull(); }