public void CanNotAnnotateNullObject() { // Arrange var annotationStrategy = new V1FeedPackageAnnotationStrategy(_contentType); // Act var canAnnotate = annotationStrategy.CanAnnotate(null); // Assert Assert.False(canAnnotate); }
public void CanNotAnnotateV2FeedPackage() { // Arrange var v2FeedPackage = new V2FeedPackage(); var annotationStrategy = new V1FeedPackageAnnotationStrategy(_contentType); // Act var canAnnotate = annotationStrategy.CanAnnotate(v2FeedPackage); // Assert Assert.False(canAnnotate); }