public void TestDisabledFacetAnnotationNever() { IDisabledFacet facet = new DisabledFacetAnnotation(WhenTo.Never, null); Assert.IsNull(facet.DisabledReason(null)); }
public void TestDisabledFacetAnnotationAlways() { IDisabledFacet facet = new DisabledFacetAnnotation(WhenTo.Always, null); Assert.AreEqual(Resources.NakedObjects.AlwaysDisabled, facet.DisabledReason(null)); }