public void CanProcess_should_be_false() { var handler = new AutoRefreshLocalizationAttributeHandler(); var args = new AttributeHandlersArgs(new StaticLocalizationAttribute("test"), null, null, null); handler.CanProcess(args).Should().Be(false); }
public void CanProcess_should_be_true() { var handler = new AutoRefreshLocalizationAttributeHandler(); var args = new AttributeHandlersArgs(new AutoRefreshLocalizationAttribute(), null, null, null); handler.CanProcess(args).Should().Be(true); }